Back to Devexpress

ButtonInfoBase.Template Property

wpf-devexpress-dot-xpf-dot-editors-dot-buttoninfobase-ef65d46a.md

latest2.0 KB
Original Source

ButtonInfoBase.Template Property

Gets or sets a button’s template. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public DataTemplate Template { get; set; }
vb
<Browsable(False)>
Public Property Template As DataTemplate

Property Value

TypeDescription
DataTemplate

The template that defines the button’s presentation and appearance.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Template property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L45

xml
<dxe:ButtonInfo IsLeft="True" GlyphKind="Custom">
    <dxe:ButtonInfo.Template>
        <DataTemplate>

See Also

ButtonInfoBase Class

ButtonInfoBase Members

DevExpress.Xpf.Editors Namespace