Back to Devexpress

BaseEdit.ShowBorder Property

wpf-devexpress-dot-xpf-dot-editors-dot-baseedit-7fb71962.md

latest3.8 KB
Original Source

BaseEdit.ShowBorder Property

Gets or sets whether the editor’s background is displayed. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool ShowBorder { get; set; }
vb
Public Property ShowBorder As Boolean

Property Value

TypeDescription
Boolean

true to display the background; otherwise, false.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowBorder 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-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/MainWindow.xaml#L76

xml
<dxb:PopupControlContainerInfo>
    <dxe:ColorEdit EditValue="{Binding EditValue, ElementName=biFormatFontColor, Mode=TwoWay}" ShowBorder="False" />
</dxb:PopupControlContainerInfo>

wpf-spreadsheet-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L76

xml
<dxb:PopupControlContainerInfo>
    <dxe:ColorEdit EditValue="{Binding EditValue, ElementName=biFormatFontColor, Mode=TwoWay}" ShowBorder="False" />
</dxb:PopupControlContainerInfo>

wpf-spreadsheet-bind-a-worksheet-to-generic-list-or-bindinglist-data-source/CS/DataBindingToListExample/MainWindow.xaml#L71

xml
<dxb:PopupControlContainerInfo>
    <dxe:ColorEdit EditValue="{Binding EditValue, ElementName=biFormatFontColor, Mode=TwoWay}" ShowBorder="False"/>
</dxb:PopupControlContainerInfo>

reporting-wpf-mvvm-show-report-document-preview/CS/MainWindow.xaml#L31

xml
DisplayMember="ReportName" ValueMember="ID"
                 SelectedIndex="0" ShowBorder="False">
</dxe:ListBoxEdit>

mvvm-application-with-wpf-bars/CS/Bars_in_MVVM_Application/MainWindow.xaml#L79

xml
<StackPanel Orientation="Horizontal">
    <dxe:ComboBoxEdit ShowBorder="False" IsReadOnly="True" IsTextEditable="False" Margin="2,0"
                      AllowDefaultButton="False" EditValue="{Binding Tags}"

See Also

BaseEdit Class

BaseEdit Members

DevExpress.Xpf.Editors Namespace