c# - can i fetch the xaml button style on my dynamic button? -
I have a problem. I have some dynamic buttons and I want to give it some style like the other style (Xaml button) How can I get xaml code using C #? But it returns an N
buttonlanguage.Style = (style) application. Present. Fund resource ("glassbutton");
Put your style in the resource section in XML and code-call from the back:
myDynamicButton.Style = (style) myWindow.FindResource ("myButtonStyle");
Comments
Post a Comment