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.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(null)]
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