Property DefaultButtonIndex
DefaultButtonIndex
Gets or sets the index of the button that is focused by default so it is clicked when the user presses the Enter or Space key and has an
accent style applied to it. Defaults to 0
(the first button). A value of -1
indicates that there should be no default button.
Declaration
public int DefaultButtonIndex { get; set; }
Property Value
Type | Description |
---|---|
int |