menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridComboBoxColumn - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridComboBoxColumn

    Represents a column that host the ComboBox and enumeration as its cell content in edit mode.

    Inheritance
    System.Object
    SfGridColumnBase<SfGridBase>
    GridColumnBase
    GridColumn
    GridComboBoxColumn
    Implements
    System.IDisposable
    INotifyDependencyPropertyChanged
    IFilterDefinition
    Inherited Members
    GridColumn.AllowBlankFilters
    GridColumn.AllowBlankFiltersProperty
    GridColumn.AllowDragging
    GridColumn.AllowDraggingProperty
    GridColumn.AllowFiltering
    GridColumn.AllowFilteringProperty
    GridColumn.AllowGrouping
    GridColumn.AllowGroupingProperty
    GridColumn.AllowResizing
    GridColumn.AllowResizingProperty
    GridColumn.CanAllowSpinOnMouseScroll()
    GridColumn.CanEditCell(Int32)
    GridColumn.CanEndEditColumn()
    GridColumn.CanFocus()
    GridColumn.CellType
    GridColumn.ColumnFilter
    GridColumn.ColumnMemberType
    GridColumn.ColumnSizer
    GridColumn.ColumnSizerProperty
    GridColumn.CreateInstanceCore()
    GridColumn.DataGrid
    GridColumn.Dispose(Boolean)
    GridColumn.FilterBehavior
    GridColumn.FilteredFrom
    GridColumn.FilterPopupStyle
    GridColumn.FilterPopupStyleProperty
    GridColumn.FilterPopupTemplate
    GridColumn.FilterPopupTemplateProperty
    GridColumn.FilterPredicates
    GridColumn.FilterRowCellStyle
    GridColumn.FilterRowCellStyleProperty
    GridColumn.FilterRowCondition
    GridColumn.FilterRowConditionProperty
    GridColumn.FilterRowEditorType
    GridColumn.FilterRowOptionsVisibility
    GridColumn.FilterRowOptionsVisibilityProperty
    GridColumn.FilterRowText
    GridColumn.FilterRowTextProperty
    GridColumn.GetFilterRowOptionsVisibility()
    GridColumn.GetRowFilterType()
    GridColumn.GroupMode
    GridColumn.GroupModeProperty
    GridColumn.ImmediateUpdateColumnFilter
    GridColumn.ImmediateUpdateColumnFilterProperty
    GridColumn.IsCaseSensitiveFilterRow
    GridColumn.IsCaseSensitiveFilterRowProperty
    GridColumn.IsHiddenColumn()
    GridColumn.OnCellTemplateChanged(DependencyPropertyChangedEventArgs)
    GridColumn.OnCellTemplateSelectorChanged(DependencyPropertyChangedEventArgs)
    GridColumn.OnDependencyPropertyChanged(String, DependencyPropertyChangedEventArgs)
    GridColumn.SetCellType(String)
    GridColumn.SetFilterRowText(String)
    GridColumn.SortMode
    GridColumn.SortModeProperty
    GridColumn.UseBindingValue
    GridColumn.UseBindingValueProperty
    GridColumnBase.ActualWidth
    GridColumnBase.ActualWidthProperty
    GridColumnBase.AllowEditing
    GridColumnBase.AllowEditingProperty
    GridColumnBase.AllowFocus
    GridColumnBase.AllowFocusProperty
    GridColumnBase.AllowSorting
    GridColumnBase.AllowSortingProperty
    GridColumnBase.CanEditCell()
    GridColumnBase.CellStyle
    GridColumnBase.CellStyleProperty
    GridColumnBase.CellStyleSelector
    GridColumnBase.CellStyleSelectorProperty
    GridColumnBase.CellTemplate
    GridColumnBase.CellTemplateProperty
    GridColumnBase.CellTemplateSelector
    GridColumnBase.CellTemplateSelectorProperty
    GridColumnBase.DisplayBinding
    GridColumnBase.GetTypeface(GridColumnBase, GridCell)
    GridColumnBase.GridValidationMode
    GridColumnBase.GridValidationModeProperty
    GridColumnBase.HeaderStyle
    GridColumnBase.HeaderStyleProperty
    GridColumnBase.HeaderTemplate
    GridColumnBase.HeaderTemplateProperty
    GridColumnBase.HeaderText
    GridColumnBase.HeaderTextProperty
    GridColumnBase.HeaderToolTipTemplate
    GridColumnBase.HeaderToolTipTemplateProperty
    GridColumnBase.HorizontalHeaderContentAlignment
    GridColumnBase.HorizontalHeaderContentAlignmentProperty
    GridColumnBase.IsAutoGenerated
    GridColumnBase.IsHidden
    GridColumnBase.IsHiddenProperty
    GridColumnBase.IsReadOnly
    GridColumnBase.IsReadOnlyProperty
    GridColumnBase.IsTemplate
    GridColumnBase.MappingName
    GridColumnBase.MappingNameProperty
    GridColumnBase.MaximumWidth
    GridColumnBase.MaximumWidthProperty
    GridColumnBase.MinimumWidth
    GridColumnBase.MinimumWidthProperty
    GridColumnBase.OnUpdateBindingInfo(DependencyObject, DependencyPropertyChangedEventArgs)
    GridColumnBase.Padding
    GridColumnBase.PaddingProperty
    GridColumnBase.SetCellBoundToolTip
    GridColumnBase.SetCellBoundToolTipProperty
    GridColumnBase.SetCellBoundValue
    GridColumnBase.SetCellBoundValueProperty
    GridColumnBase.SetValueBindingConverter()
    GridColumnBase.ShowHeaderToolTip
    GridColumnBase.ShowHeaderToolTipProperty
    GridColumnBase.ShowToolTip
    GridColumnBase.ShowToolTipProperty
    GridColumnBase.TextAlignment
    GridColumnBase.TextAlignmentProperty
    GridColumnBase.ToolTipTemplate
    GridColumnBase.ToolTipTemplateProperty
    GridColumnBase.ToolTipTemplateSelector
    GridColumnBase.ToolTipTemplateSelectorProperty
    GridColumnBase.UpdateBindingForValidation(GridValidationMode)
    GridColumnBase.UpdateTrigger
    GridColumnBase.UpdateTriggerProperty
    GridColumnBase.ValueBinding
    GridColumnBase.VerticalAlignment
    GridColumnBase.VerticalAlignmentProperty
    GridColumnBase.Width
    GridColumnBase.WidthProperty
    SfGridColumnBase<SfGridBase>.Dispose()
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.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 dependency property.

    Declaration
    public static readonly DependencyProperty DisplayMemberPathProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the dependency property.

    IsEditableProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridMultiColumnDropDownList.IsEditable dependency property.

    Declaration
    public static readonly DependencyProperty IsEditableProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridMultiColumnDropDownList.IsEditable dependency property.

    ItemsSourceProperty

    Identifies the SelectedValuePath dependency property.

    Declaration
    public static readonly DependencyProperty ItemsSourceProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the SelectedValuePath dependency property.

    ItemsSourceSelectorProperty

    Identifies the ItemsSourceSelector dependency property.

    Declaration
    public static readonly DependencyProperty ItemsSourceSelectorProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the ItemsSourceSelector dependency property.

    ItemTemplateProperty

    Identifies the ItemTemplate dependency property.

    Declaration
    public static readonly DependencyProperty ItemTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the ItemTemplate dependency property.

    SelectedValuePathProperty

    Identifies the SelectedValuePath dependency property.

    Declaration
    public static readonly DependencyProperty SelectedValuePathProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the SelectedValuePath dependency property.

    StaysOpenOnEditProperty

    Identifies the Syncfusion.UI.Xaml.Grid.GridMultiColumnDropDownList.StaysOpenOnEdit dependency property.

    Declaration
    public static readonly DependencyProperty StaysOpenOnEditProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the Syncfusion.UI.Xaml.Grid.GridMultiColumnDropDownList.StaysOpenOnEdit dependency property.

    TextDecorationsProperty

    Declaration
    public static readonly DependencyProperty TextDecorationsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    TextTrimmingProperty

    Identifies the TextTrimming dependency property.

    Declaration
    public static readonly DependencyProperty TextTrimmingProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the TextTrimming dependency property.

    TextWrappingProperty

    Identifies the dependency property.

    Declaration
    public static readonly DependencyProperty TextWrappingProperty
    Field Value
    Type
    System.Windows.DependencyProperty
    Remarks

    The identifier for the dependency property.

    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.

    IsEditable

    Gets or sets a value that indicates whether the user can edit the cell value by typing through editor of GridComboBoxColumn.

    Declaration
    public bool IsEditable { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the cell value is edited by typing through the editor of GridComboBoxColumn ; otherwise , false. The default value is false .

    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

    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
    ItemsSource

    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
    System.Windows.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.

    StaysOpenOnEdit

    Gets or sets a value that indicates whether a GridComboBoxColumn that opens and displays a drop-down control when a user clicks its text area .

    Declaration
    public bool StaysOpenOnEdit { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to keep the drop-down control open when the user clicks on the text area to start editing; otherwise , false . The default value is false.

    TextDecorations

    Gets or sets a value that indicates a System.Windows.TextDecorationCollection that contains the effects to apply to the cell content.

    Declaration
    public TextDecorationCollection TextDecorations { get; set; }
    Property Value
    Type Description
    System.Windows.TextDecorationCollection

    One of the System.Windows.TextDecorations enumeration that specifies effects to apply to the cell content. The default value is null.

    Remarks

    System.Windows.TextDecorations is applicable for display content alone. When you move to edit mode in ComboBox column, System.Windows.TextDecorations will not be applied to System.Windows.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
    System.Windows.TextTrimming

    One of the System.Windows.TextTrimming enumeration that specifies text trimming behavior of cell content. The default value is System.Windows.TextTrimming.None.

    Remarks

    System.Windows.TextTrimming is applicable for display content alone. When you move to edit mode in ComboBox column, System.Windows.TextTrimming will not be applied to System.Windows.Controls.ComboBox editor.

    TextWrapping

    Gets or sets a value that indicates how cell content should be wrapped.

    Declaration
    public TextWrapping TextWrapping { get; set; }
    Property Value
    Type Description
    System.Windows.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 System.Windows.Controls.ComboBox editor.

    Methods

    SetDisplayBindingConverter()

    Sets the converter for the of GridComboBoxColumn.

    Declaration
    protected override void SetDisplayBindingConverter()
    Overrides
    GridColumn.SetDisplayBindingConverter()
    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()
    Overrides
    GridColumn.UpdateBindingBasedOnAllowEditing()

    Implements

    System.IDisposable
    INotifyDependencyPropertyChanged
    IFilterDefinition
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved