Class GridComboBoxColumn
Represents a column that host the ComboBox and enumeration as its cell content in edit mode.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GridComboBoxColumn : GridColumn, IDisposable, INotifyDependencyPropertyChanged, IFilterDefinition
Constructors
GridComboBoxColumn()
Initializes a new instance of the GridComboBoxColumn class.
Declaration
public GridComboBoxColumn()
Fields
DisplayMemberPathProperty
Identifies the
Declaration
public static readonly DependencyProperty DisplayMemberPathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the
ItemsSourceProperty
Identifies the SelectedValuePath dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the SelectedValuePath dependency property.
ItemsSourceSelectorProperty
Identifies the ItemsSourceSelector dependency property.
Declaration
public static readonly DependencyProperty ItemsSourceSelectorProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the ItemsSourceSelector dependency property.
ItemTemplateProperty
Identifies the ItemTemplate dependency property.
Declaration
public static readonly DependencyProperty ItemTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the ItemTemplate dependency property.
SelectedValuePathProperty
Identifies the SelectedValuePath dependency property.
Declaration
public static readonly DependencyProperty SelectedValuePathProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the SelectedValuePath dependency property.
TextDecorationsProperty
Identifies the
Declaration
public static readonly DependencyProperty TextDecorationsProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the
TextTrimmingProperty
Identifies the TextTrimming dependency property.
Declaration
public static readonly DependencyProperty TextTrimmingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the TextTrimming dependency property.
TextWrappingProperty
Identifies the
Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Remarks
The identifier for the
Properties
DisplayMemberPath
Gets or sets the path that is used to display the visual representation of object.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that represents the path to display the visual representation of object. The default value is string.Empty. |
ItemsSource
Gets or sets a collection used to generate the content of GridComboBoxColumn.
Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.IEnumerable | The collection that is used to generate the content of GridComboBoxColumn. The default value is null. |
See Also
ItemsSourceSelector
Gets or Sets the different itemsSource for each row in GridComboBoxColumn.
Declaration
public IItemsSourceSelector ItemsSourceSelector { get; set; }
Property Value
Type | Description |
---|---|
IItemsSourceSelector | The itemsSourceSelector that is used to bind a different itemsSource for each row in GridComboBoxColumn. The default value is null. |
See Also
ItemTemplate
Gets or sets the System.Windows.DataTemplate that is used to display each item in GridComboBoxColumn.
Declaration
public DataTemplate ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.DataTemplate | A System.Windows.DataTemplate that is used to display each item in GridComboBoxColumn. The default value is null. |
SelectedValuePath
Gets or sets the path that is used to get the SelectedValue from the SelectedItem.
Declaration
public string SelectedValuePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The path that is used to get the SelectedValue from the SelectedItem. The default value is null. |
TextDecorations
Gets or sets a value that indicates a Windows.UI.Text.TextDecorations that contains the effects to apply to the cell content.
Declaration
public TextDecorations TextDecorations { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Text.TextDecorations | One of the Windows.UI.Text.TextDecorations enumeration that specifies effects to apply to the cell content. The default value is Windows.UI.Text.TextDecorations.None. |
Remarks
Windows.UI.Text.TextDecorations is applicable for display content alone. When you move to edit mode in ComboBox column, Windows.UI.Text.TextDecorations will not be applied to Microsoft.UI.Xaml.Controls.ComboBox editor.
TextTrimming
Gets or sets a value that indicates the text trimming behavior when content overflows the cell area.
Declaration
public TextTrimming TextTrimming { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.TextTrimming | One of the |
Remarks
TextWrapping
Gets or sets a value that indicates how cell content should be wrapped.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.TextWrapping | One of the System.Windows.TextWrapping enumeration that specifies wrapping behavior of cell content. The default value is System.Windows.TextWrapping.NoWrap. |
Remarks
System.Windows.TextWrapping is applicable for display content alone. When you move to edit mode in ComboBox column, System.Windows.TextWrapping will not be applied to Windows.UI.Xaml.Controls.ComboBox editor.
Methods
SetDisplayBindingConverter()
Sets the converter for the
Declaration
protected override void SetDisplayBindingConverter()
Overrides
Remarks
You can override this method to specify the converter for
UpdateBindingBasedOnAllowEditing()
Updates the binding for the AllowEdit property changes in the GridComboBoxColumn.
Declaration
protected override void UpdateBindingBasedOnAllowEditing()