SeparatorLinePen Property (CardView)
Gets or sets the Pen used to draw the line between a "column" of cards.
public Pen SeparatorLinePen {get; set;}
'Declaration
Public Property SeparatorLinePen As Pen
'Usage
Dim instance As CardView
Dim value As Pen
instance.SeparatorLinePen = value
value = instance.SeparatorLinePen
Property Value A reference to the
Pen used to draw the separator lines. By default, a null reference (
Nothing in Visual Basic).
All examples in this topic assume that the grid is bound to the
Orders table of the Northwind database, unless stated otherwise.
The following examples demonstrates how to add separator lines between card columns.
< Grid xmlns:xcdg ="http://schemas.xceed.com/wpf/xaml/datagrid" >
< Grid.Resources >
< xcdg:DataGridCollectionViewSource x:Key ="cvs_orders"
Source =" {Binding Source={x:Static Application.Current},
Path=Orders} " />
</ Grid.Resources >
< xcdg:DataGridControl x:Name ="OrdersGrid"
ItemsSource =" {Binding Source={StaticResource cvs_orders}} " >
< xcdg:DataGridControl.View >
< xcdg:CardView >
< xcdg:CardView.SeparatorLinePen >
< Pen Thickness ="1.5" Brush ="Orange"
DashStyle =" {x:Static DashStyles.DashDotDot} " />
</ xcdg:CardView.SeparatorLinePen >
</ xcdg:CardView >
</ xcdg:DataGridControl.View >
</ xcdg:DataGridControl >
</ Grid >
Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
2025 © Xceed Software Inc.
4170 Grande-Allée, Suite 100, Greenfield Park, Qc J4V 3N2