Forum Discussion
cp_net
14 years agoOccasional Contributor
Actually, after some more analysis, here's the scenario in more details:
public class MyCustomBox : TextBox
{
public MyFieldType MyField
{
get { return _myField; }
}
}
As, you can see this has only a get accessor, but no set.
If I add this class as a property to a WPF Window, I cannot get direct access to Window.MyCustomBox.MyField (in script and object browser). However, I can access the method get_MyField and private field zmyField.
But when I add a public set accessor to above class, I can access the Window.MyCustomBox.MyField property from TestComplete.
Related Content
- 7 years agoPhillipB
Recent Discussions
- 12 hours agosimonaferrara