Is there a way how to access custom property on custom control in WPF using White framework test ?
Let's say I have class like this:
public class MyButton : System.Windows.Controls.Button
{
public MyButton()
{
}
public string MyCustomButtonProp { get { return "MyButtonInfo"; } }
}
Is there a way how to access MyCustomButtonProp via White framework in a test ? I read how custom controls are handled (https://teststackwhite.readthedocs.io/en/latest/AdvancedTopics/CustomUIItems/) but that didn't lead me to conclusion how to access custom properties, only how to handle custom controls with nested controls. If I use standard White framework objects (Button in this case) I can interact with the button but that's not sufficient in my case.