Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Controls Namespace / MultiColumnComboBox Class / DataGridStyle Property


In This Topic
    DataGridStyle Property (MultiColumnComboBox)
    In This Topic
    Gets or sets the style to apply to the DataGridControl that will be displayed in the dropdown list.
    Syntax
    'Declaration
     
    Public Property DataGridStyle As Style
    'Usage
     
    Dim instance As MultiColumnComboBox
    Dim value As Style
     
    instance.DataGridStyle = value
     
    value = instance.DataGridStyle
    public Style DataGridStyle {get; set;}
    Remarks

    Using this property allows you to control many aspects of the contained datagrid control easily.

    The default value of this property is a style refered by the key defined in the DefaultDataGridStyleResourceKey static field. In order to modifiy the current look and behavior of the underlying datagrid control, you should always base your style on this one. For example:

    <Style x:Key="myStyle" TargetType="{x:Type xcdg:DataGridControl}"
    BasedOn="{StaticResource {x:Static xcdg:MultiColumnComboBox.DefaultDataGridStyleResourceKey}}">< /Style>
    Requirements

    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

    See Also