Represents a button which reacts to click events
Name | Description |
---|
Input | Input description |
Splash | Style being used in splash screen |
Name |
Type |
Description |
Default |
Min |
Max |
Appearance |
String |
Can be set to change visual styling. Possible values will be shown in the Appearances section if available |
null |
- |
- |
Command |
Command |
The command to invoke when the button is pressed. Command has to be predefined on the ViewModel. |
null |
- |
- |
FlexWidth |
Integer |
How flexible the control's width can be made in relation to the other controls of the same parent |
1 |
0 |
100 |
Help |
String |
Shows a tooltip when you hover over the control |
null |
- |
- |
HorizontalAlignment |
HorizontalAlignment |
Determines how the control is horizontally sized and positioned relative to its containing controls |
Stretch |
- |
- |
IsAccept |
Boolean |
Button will be clicked on <Enter>.
In a dialog the button results to DialogResult.OK |
null |
- |
- |
IsCancel |
Boolean |
Button will be clicked on <Escape>.
In a dialog the button results to DialogResult.Cancel |
False |
- |
- |
Text |
String |
The displayed button label |
"" |
- |
- |
VerticalAlignment |
VerticalAlignment |
Determines how the control is vertically sized and positioned relative to its containing control |
Stretch |
- |
- |
Visible |
Boolean |
Whether the control is visible or not |
True |
- |
- |
VisibleExpression |
String |
Expression used for the Visible property |
null |
- |
- |
Width |
Double |
Fixed width of the control |
NaN |
- |
- |
WidthFraction |
Double |
The control width in relation to his layout width. |
1 |
0 |
1 |