Skip to main content

ButtonInfo.TemplateToggle Property

Gets or sets a template used to display a button which ButtonInfo.ButtonKind property is set to ButtonKind.Toggle. 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 TemplateToggle { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object used to display a toggle button.

Remarks

If the TemplateToggle is not specified or the ButtonInfo.ButtonKind is not set to ButtonKind.Toggle, the button is displayed via the editor’s TextEdit.ButtonsTemplate template. The ButtonInfo.ActualTemplate property allows you to obtain which template is currently used.

See Also