WPFSense
Thursday, February 2, 2012
Set Styles on Ui Controls in code behind
UI Control's styles can set at runtime dynamically.
this.pnlRight.Style = (Style)this.Resources["DockablePanel"];
Remove style at runtime, just set it to null:
this.pnlRight.Style = null;
:D
No comments:
Post a Comment
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment