Skip to main content

ButtonInfo.ActualTemplate Property

Gets or sets the actual data template used to present the button’s content. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

#Declaration

public DataTemplate ActualTemplate { get; }

#Property Value

Type Description
DataTemplate

A DataTemplate object that represents the template used to present the button’s content.

#Remarks

The button’s content can be presented by one of the following templates, depending on the value of the ButtonInfo.ButtonKind property:

Template Button kind
ButtonInfo.TemplateSimple ButtonKind.Simple
ButtonInfo.TemplateRepeat ButtonKind.Repeat
ButtonInfo.TemplateToggle ButtonKind.Toggle

Use the ActualTemplate property to obtain the template that is actually used to present the button’s content.

See Also