Not all properties from counterpart MS classes are available

Apr 2, 2012 at 11:42 PM

Hi there,

First off, thanks very much for creating this framework! Very nice overall.  I really enjoyed using it until I realized that your classes do not provide a lot of the properties as their counterpart classes provided by the out-of-the-box CUIT classes.  For example, I was trying to validate if a particular HtmlEdit control has focus, and the HasFocus property does not exist!

Am I missing something or is this a real issue? I'd love to be able to use this framework if you could provide all of the properties the counterpart CUIT classes do.

Thanks!

Angie

Coordinator
Apr 4, 2012 at 7:38 AM

Just use CUITeObject.UnWrap().HasFocus.

.UnWrap() call on CUITe object will give you underlying CodedUI object. Hope that clarifies.

Apr 4, 2012 at 4:36 PM

That works. Very awesome. Thanks!