'Declaration Public Property EmptySurfaceBrush As Brush
'Usage Dim instance As CardflowItemsHost Dim value As Brush instance.EmptySurfaceBrush = value value = instance.EmptySurfaceBrush
public Brush EmptySurfaceBrush {get; set;}
'Declaration Public Property EmptySurfaceBrush As Brush
'Usage Dim instance As CardflowItemsHost Dim value As Brush instance.EmptySurfaceBrush = value value = instance.EmptySurfaceBrush
public Brush EmptySurfaceBrush {get; set;}
All examples in this topic assume that the grid is bound to the Employees table of the Northwind database, unless stated otherwise.
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"> <Grid.Resources> <xcdg:DataGridCollectionViewSource x:Key="cvs_employees" Source="{Binding Source={x:Static Application.Current}, Path=EmployeesTable}"/> <LinearGradientBrush x:Key="emptySurfaceBrush" StartPoint="0.5,1" EndPoint="0.5,0"> <GradientStop Offset="0" Color="#FF0E0E0E"/> <GradientStop Offset="0.33" Color="#FF323232"/> <GradientStop Offset="0.63" Color="#FF4C4C4C"/> <GradientStop Offset="1" Color="#FF949494"/> </LinearGradientBrush> </Grid.Resources> <xcdg:DataGridControl x:Name="EmployeesGrid" ItemsSource="{Binding Source={StaticResource cvs_employees}}"> <xcdg:DataGridControl.Columns> <xcdg:Column FieldName="LastName" IsMainColumn="True"/> </xcdg:DataGridControl.Columns> <xcdg:DataGridControl.View> <xcdg:CardflowView3D SideCardsCount="1" EmptySurfaceBrush="{StaticResource emptySurfaceBrush}"> <xcdg:CardflowView3D.Theme> <xcdg:ElementalBlackTheme/> </xcdg:CardflowView3D.Theme> </xcdg:CardflowView3D> </xcdg:DataGridControl.View> </xcdg:DataGridControl> </Grid>
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.