Back to Devexpress

DataControlBase.ShowBorder Property

wpf-devexpress-dot-xpf-dot-grid-dot-datacontrolbase-2182e8b8.md

latest2.8 KB
Original Source

DataControlBase.ShowBorder Property

Gets or sets whether to show the grid’s border. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

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

Property Value

TypeDescription
Boolean

true to show the border; 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-dock-layout-manager-serialize-custom-panels-and-their-properties/CS/DX_WPF_Application10/MainWindow.xaml#L22

xml
<local:MyCustomPanel x:Name="panel2" Caption="MainView" ItemHeight="3*" CaptionImage="Images/Icons/MainView.png">
    <dxg:GridControl AutoPopulateColumns="True" ShowBorder="False">
        <dxg:GridControl.DataSource>

wpf-data-grid-define-cellstyle-and-celltemplate-in-code-behind/CS/fGrid11/MainWindow.xaml#L25

xml
ItemsSource="{x:Static local:Person.CreateList}"
ShowBorder="False"
AutoGenerateColumns="KeepOld">

wpf-data-grid-refresh-on-timer/CS/RefreshOnTimer/MainWindow.xaml#L29

xml
<Grid>
    <dxg:GridControl ShowBorder="False"
                     ItemsSource="{Binding Source}"

See Also

DataControlBase Class

DataControlBase Members

DevExpress.Xpf.Grid Namespace