I have a subclass from control and I want set text for that.
When I change parent to label this can be done but this class has sibling should be buttons.
Logically label and button can extends from Control therefore I extend my parent class from Control but now I can’t write text on it.
Of course text property exists on it but i can’t see my text.
Please help me ..
Thanks a lot
I have a subclass from control and I want set text for that. When
Share
Override the
Textproperty to do what you need:(assuming you have a button in your custom control).