Skip to main content

ButtonInfo Properties

Represents a button for a button editor.
Name Description
ActualContentPadding Gets the actual padding (inner indents) for the current button’s content. This is a dependency property.
ActualImagePadding Gets the actual padding (inner indents) for the current button’s image. This is a dependency property.
ActualTemplate Gets or sets the actual data template used to present the button’s content. This is a dependency property.
ButtonKind Gets a value that specifies the button’s behavior. This is a dependency property.
ClickMode Gets or sets when the ButtonInfo.Click event occurs. This is a dependency property.
Command Gets or sets a command associated with the button. This is a dependency property.
CommandParameter Gets or sets a parameter to pass to the ButtonInfo.Command property. This is a dependency property.
ContentPadding Gets or sets the amount of space between the button content and its borders. This is a dependency property.
GlyphKind Gets or sets the type of the button’s image. This is a dependency property.
ImageNineGrid Gets or sets the nine-grid values used to resize the button’s image.
ImagePadding Gets or sets the amount of space between the button image’s borders and its contents. This is a dependency property.
ImageSource Gets or sets the button’s image.
ImageStretch Gets or sets a value that specifies how a button’s image should be resized to fill its allocated space. This is a dependency property.
InternalCommand
IsChecked Gets or sets whether the button is checked. This is a dependency property.
IsDefault Gets or sets whether the button is the default button. This is a dependency property.
IsLeft Gets or sets the button’s alignment within a TextEdit control. This is a dependency property.
TemplateRepeat Gets or sets a template used to display a button which ButtonInfo.ButtonKind property is set to ButtonKind.Repeat. This is a dependency property.
TemplateRound Gets or sets a template used to display a button which ButtonInfo.ButtonKind property is set to ButtonKind.Round. This is a dependency property.
TemplateSimple Gets or sets a template used to display a button which ButtonInfo.ButtonKind property is set to ButtonKind.Simple. This is a dependency property.
TemplateToggle Gets or sets a template used to display a button which ButtonInfo.ButtonKind property is set to ButtonKind.Toggle. This is a dependency property.
See Also