You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It defines two button styles: default(without Id) and "blue" style.
In order to create button with default style, simply call its constructor without parameters:
varbutton=newTextButton{Text="My button"};
Or through MML:
<TextButtonText="My button"/>
In order to create button with named style, pass it to constructor. I.e.
Note. It's also possible to create a widget without any applied style. If you want to archieve that, then pass null to constructor: var button = new TextButton(null);
to Stylesheet.Current should be done before the UI is created.