Back to Devexpress

ButtonInfo Class

wpf-devexpress-dot-xpf-dot-editors-b24f4a79.md

latest3.2 KB
Original Source

ButtonInfo Class

Represents a button for a button editor.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public class ButtonInfo :
    CommonButtonInfo
vb
Public Class ButtonInfo
    Inherits CommonButtonInfo

Remarks

The ButtonInfo class implements the functionality of an individual button that can be displayed within button editors (e.g., ButtonEdit, DateEdit, etc.).

The following code snippets (auto-collected from DevExpress Examples) contain references to the ButtonInfo class.

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#L44

xml
<dxe:ButtonEdit Background="#1FFFFFFF" Margin="0,0,30,0" Width="230" NullText="Search everywhere..." BorderThickness="0" BorderBrush="Transparent" AllowDefaultButton="False">
    <dxe:ButtonInfo IsLeft="True" GlyphKind="Custom">
        <dxe:ButtonInfo.Template>

wpf-property-grid-use-data-annotations-to-define-property-editor/CS/PropertyGridEditorAttribute/MainWindow.xaml#L42

xml
<dxe:ButtonEdit.Buttons>
    <dxe:ButtonInfo GlyphKind="Edit"
                    CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=(dxe:BaseEdit.OwnerEdit).EditValue}"

Inheritance

Object DispatcherObject DependencyObject ContentElement FrameworkContentElement ButtonInfoBase CommandButtonInfo CommonButtonInfo ButtonInfo

See Also

ButtonInfo Members

DevExpress.Xpf.Editors Namespace