The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.2.dll

Declaration

public DataTemplate ActualTemplate { get; }
Public ReadOnly Property ActualTemplate As DataTemplate

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