WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridDataVisibleColumn

    Show / Hide Table of Contents

    Class GridDataVisibleColumn

    Defines the Visible column details for the DataSource.

    Inheritance
    System.Object
    GridDataVisibleColumn
    GridDataCheckBoxVisibleColumn
    GridDataCurrencyEditVisibleColumn
    GridDataDateTimeVisibleColumn
    GridDataDoubleEditVisibleColumn
    GridDataDouleEditVisibleColumn
    GridDataIntegerEditVisibleColumn
    GridDataMaskEditVisibleColumn
    GridDataPercentEditVisibleColumn
    GridDataTimeSpanEditVisibleColumn
    GridDataUnboundVisibleColumn
    GridDataUpDownEditVisibleColumn
    Implements
    Syncfusion.Windows.Data.IFilterDefinition
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridDataVisibleColumn : Freezable, IFilterDefinition, INotifyPropertyChanged, IDisposable

    Constructors

    GridDataVisibleColumn()

    Initializes a new instance of the class.

    Declaration
    public GridDataVisibleColumn()

    Fields

    AdvanceFilteringWindowStyleProperty

    Dependency Property for AdvanceFilteringWindowStyle

    Declaration
    public static readonly DependencyProperty AdvanceFilteringWindowStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    AllowDragProperty

    Dependency property for AllowDrag.

    Declaration
    public static readonly DependencyProperty AllowDragProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    AllowFilterProperty

    Dependency property for AllowFilters.

    Declaration
    public static readonly DependencyProperty AllowFilterProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    AllowGroupProperty

    Dependency property for AllowGroup.

    Declaration
    public static readonly DependencyProperty AllowGroupProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    AllowResizeProperty

    Dependency property for AllowResize.

    Declaration
    public static readonly DependencyProperty AllowResizeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    AllowSortProperty

    Dependency property for AllowSort.

    Declaration
    public static readonly DependencyProperty AllowSortProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    AutoFitProperty

    Dependency property for AutoFit.

    Declaration
    public static readonly DependencyProperty AutoFitProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CanFormatExcelLikeFilterTextProperty

    Declaration
    public static readonly DependencyProperty CanFormatExcelLikeFilterTextProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CellEditItemTemplateProperty

    Dependency property for CellTemplate.

    Declaration
    public static readonly DependencyProperty CellEditItemTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    CellItemTemplateProperty

    Dependency property for CellTemplate.

    Declaration
    public static readonly DependencyProperty CellItemTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ColumnHeaderStyleProperty

    Declaration
    public static readonly DependencyProperty ColumnHeaderStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    DataTypeProperty

    Declaration
    public static readonly DependencyProperty DataTypeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    DefaultWidth

    Declaration
    public static readonly double DefaultWidth
    Field Value
    Type Description
    System.Double

    FilterBarModeProperty

    Dependency property for FilterBarMode.

    Declaration
    public static readonly DependencyProperty FilterBarModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    FilterBarStyleProperty

    Declaration
    public static readonly DependencyProperty FilterBarStyleProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    FilterBehaviorProperty

    FilterBehavior Dependency Property

    Declaration
    public static readonly DependencyProperty FilterBehaviorProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    FilterPanePositionProperty

    Declaration
    public static readonly DependencyProperty FilterPanePositionProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    FilterPaneProperty

    Declaration
    public static readonly DependencyProperty FilterPaneProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HeaderCellTemplateProperty

    Dependency property for HeaderCellTemplate.

    Declaration
    public static readonly DependencyProperty HeaderCellTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    HeaderTextProperty

    Dependency property for HeaderText.

    Declaration
    public static readonly DependencyProperty HeaderTextProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IncrementSeedProperty

    Dependency property for IncrementSeed.

    Declaration
    public static readonly DependencyProperty IncrementSeedProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsCaseSensitiveFilterProperty

    Declaration
    public static readonly DependencyProperty IsCaseSensitiveFilterProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsHiddenProperty

    Declaration
    public static readonly DependencyProperty IsHiddenProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsIdentityProperty

    Dependency property for IsIdentity.

    Declaration
    public static readonly DependencyProperty IsIdentityProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsReadOnlyProperty

    Dependency property for IsReadOnly.

    Declaration
    public static readonly DependencyProperty IsReadOnlyProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsUnboundProperty

    Declaration
    public static readonly DependencyProperty IsUnboundProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MappingNameProperty

    Dependency property for MappingName.

    Declaration
    public static readonly DependencyProperty MappingNameProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MaximumWidthProperty

    Declaration
    public static readonly DependencyProperty MaximumWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MinimumWidthProperty

    Dependency property for Width.

    Declaration
    public static readonly DependencyProperty MinimumWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    MinWidth

    Declaration
    public static readonly double MinWidth
    Field Value
    Type Description
    System.Double

    ReferenceFieldsProperty

    Declaration
    public static readonly DependencyProperty ReferenceFieldsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowAdvanceFilteringOptioninExcelLikeFilteringProperty

    Declaration
    public static readonly DependencyProperty ShowAdvanceFilteringOptioninExcelLikeFilteringProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowColumnOptionsProperty

    Declaration
    public static readonly DependencyProperty ShowColumnOptionsProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowSearchOptioninExcelLikeFilteringProperty

    Declaration
    public static readonly DependencyProperty ShowSearchOptioninExcelLikeFilteringProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ShowSortOptioninExcelLikeFilteringProperty

    Declaration
    public static readonly DependencyProperty ShowSortOptioninExcelLikeFilteringProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    SortMemberPathProperty

    Declaration
    public static readonly DependencyProperty SortMemberPathProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    UpdateModeProperty

    Declaration
    public static readonly DependencyProperty UpdateModeProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ValueConverterParameterProperty

    Declaration
    public static readonly DependencyProperty ValueConverterParameterProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    ValueConverterProperty

    Declaration
    public static readonly DependencyProperty ValueConverterProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    WidthProperty

    Dependency property for Width.

    Declaration
    public static readonly DependencyProperty WidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    ActualWidth

    Declaration
    public double ActualWidth { get; }
    Property Value
    Type Description
    System.Double

    AdvanceFilteringWindowStyle

    Declaration
    public Style AdvanceFilteringWindowStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    AllowDrag

    Gets or sets a value indicating whether [allow drag].

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

    AllowFilter

    Gets or sets a value indicating whether [allow filter].

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

    AllowGroup

    Gets or sets a value indicating whether [allow group].

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

    AllowResize

    Gets or sets a value indicating whether [allow resize].

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

    AllowSort

    Gets or sets a value indicating whether [allow sort].

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

    AutoFit

    When true, the column will be resized automatically to fit the content. This will also include the header cells.

    Declaration
    [Obsolete("This property is depreciated, Use Width = new GridDataControlLength(1d, GridDataControlLengthType.Auto)")]
    public bool AutoFit { get; set; }
    Property Value
    Type Description
    System.Boolean

    Binding

    Declaration
    public Binding Binding { get; set; }
    Property Value
    Type Description
    System.Windows.Data.Binding

    CanFormatExcelLikeFilterText

    Enables / disables default formatting based on CellType

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

    CellEditItemTemplate

    Gets or sets the cell template for each column.

    Declaration
    public DataTemplate CellEditItemTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The cell template.

    CellItemTemplate

    Gets or sets the cell template for each column.

    Declaration
    public DataTemplate CellItemTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The cell template.

    ColumnHeaderStyle

    Declaration
    public Style ColumnHeaderStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    ColumnStyle

    Declaration
    public virtual GridDataColumnStyle ColumnStyle { get; set; }
    Property Value
    Type Description
    GridDataColumnStyle

    ColumnType

    Gets the type of the column.

    Declaration
    public Type ColumnType { get; }
    Property Value
    Type Description
    System.Type

    DataType

    Declaration
    public DataType DataType { get; set; }
    Property Value
    Type Description
    DataType

    ExcelLikeFilterPane

    Declaration
    public GridDataExcelLikeFilterPane ExcelLikeFilterPane { get; set; }
    Property Value
    Type Description
    GridDataExcelLikeFilterPane

    ExcelLikeFilterPaneStyle

    Declaration
    public Style ExcelLikeFilterPaneStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Style

    FilterBarMode

    Declaration
    public GridDataFilterBarMode FilterBarMode { get; set; }
    Property Value
    Type Description
    GridDataFilterBarMode

    FilterBarStyle

    Declaration
    public GridDataFilterBarStyle FilterBarStyle { get; set; }
    Property Value
    Type Description
    GridDataFilterBarStyle

    FilterBehavior

    Gets or sets the FilterBehavior property. This dependency property indicates ....

    Declaration
    public FilterBehavior FilterBehavior { get; set; }
    Property Value
    Type Description
    Syncfusion.Linq.FilterBehavior

    FilterPane

    Declaration
    public GridDataFilteringPane FilterPane { get; set; }
    Property Value
    Type Description
    GridDataFilteringPane

    FilterPanePosition

    Declaration
    public FilterPanePosition FilterPanePosition { get; set; }
    Property Value
    Type Description
    FilterPanePosition

    Filters

    Gets or sets the filters.

    Declaration
    public ObservableCollection<FilterPredicate> Filters { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<Syncfusion.Windows.Data.FilterPredicate>

    The filters.

    HeaderCellTemplate

    Gets or sets the header cell data template. Easily customize the display of the header cell thru normal WPF bound controls. Also, we can apply WPF animation with properties from GridStyleInfo that is passed to the Content of the DataTemplate.

    <syncfusion:GridDataVisibleColumn
    MappingName="OrderID" HeaderText="Order ID"
    Width="90">
                        <syncfusion:GridDataVisibleColumn.HeaderCellTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding
    Path=CellBoundValue}"
    syncfusion:VisualContainer.WantsMouseInput="False"
    Background="Blue" Foreground="Yellow" />
                            </DataTemplate>
                        </syncfusion:GridDataVisibleColumn.HeaderCellTemplate>
                    </syncfusion:GridDataVisibleColumn>
    Declaration
    public DataTemplate HeaderCellTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    HeaderStyle

    Declaration
    public virtual GridDataColumnStyle HeaderStyle { get; set; }
    Property Value
    Type Description
    GridDataColumnStyle

    HeaderText

    Gets or sets the header text.

    Declaration
    public string HeaderText { get; set; }
    Property Value
    Type Description
    System.String

    The header text.

    IncrementSeed

    Declaration
    public int IncrementSeed { get; set; }
    Property Value
    Type Description
    System.Int32

    IsAdvancedFilteringMode

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

    IsCaseSensitiveFilter

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

    IsHidden

    Gets / Sets if the VisibleColumn is hidden

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

    IsIdentity

    Gets or sets a value indicating whether this instance is identity.

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

    true if this instance is identity; otherwise, false.

    IsInSuspend

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

    IsReadOnly

    Gets or sets a value indicating whether this instance is read only.

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

    true if this instance is read only; otherwise, false.

    IsUnbound

    Gets or sets a value indicating whether this column is unbound. This also indicates that the column's cell value is not bound to the underlying data source. It has to be manually populated or the GridDataUnboundVisibleColumn.UnboundFormat can be set.

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

    true if this instance is unbound; otherwise, false.

    MappingName

    Gets or sets the name of the mapping.

    Declaration
    public string MappingName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the mapping.

    MaximumWidth

    Declaration
    public double MaximumWidth { get; set; }
    Property Value
    Type Description
    System.Double

    MinimumWidth

    Declaration
    public double MinimumWidth { get; set; }
    Property Value
    Type Description
    System.Double

    ReferenceFields

    Declaration
    public string ReferenceFields { get; set; }
    Property Value
    Type Description
    System.String

    ShowAdvanceFilteringOptioninExcelLikeFiltering

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

    ShowColumnOptions

    Gets or Sets the ShowColumnOptions feature for this column.

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

    ShowSearchOptioninExcelLikeFiltering

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

    ShowSortOptioninExcelLikeFiltering

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

    SortMemberPath

    Declaration
    public string SortMemberPath { get; set; }
    Property Value
    Type Description
    System.String

    UpdateMode

    Declaration
    public UpdateMode UpdateMode { get; set; }
    Property Value
    Type Description
    UpdateMode

    ValueConverter

    Gets / Sets the ValueConverter property.

    Declaration
    public IValueConverter ValueConverter { get; set; }
    Property Value
    Type Description
    System.Windows.Data.IValueConverter

    ValueConverterParameter

    Gets / Sets the ValueConverterParameter property.

    Declaration
    public object ValueConverterParameter { get; set; }
    Property Value
    Type Description
    System.Object

    VisibleColumnType

    Declaration
    public Type VisibleColumnType { get; set; }
    Property Value
    Type Description
    System.Type

    Width

    Gets or sets the width.

    Declaration
    public GridDataControlLength Width { get; set; }
    Property Value
    Type Description
    GridDataControlLength

    The width.

    Methods

    CreateInstanceCore()

    Declaration
    protected override Freezable CreateInstanceCore()
    Returns
    Type Description
    System.Windows.Freezable

    Dispose()

    Declaration
    public void Dispose()

    InitializeFrom(GridDataVisibleColumn)

    Declaration
    public virtual void InitializeFrom(GridDataVisibleColumn other)
    Parameters
    Type Name Description
    GridDataVisibleColumn other

    Events

    CellEditTemplateChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<DataTemplate>> CellEditTemplateChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<System.Windows.DataTemplate>>

    CellItemTemplateChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<DataTemplate>> CellItemTemplateChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<System.Windows.DataTemplate>>

    HeaderCellTemplateChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<DataTemplate>> HeaderCellTemplateChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<System.Windows.DataTemplate>>

    HeaderTextChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<string>> HeaderTextChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<System.String>>

    IsReadOnlyChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<bool>> IsReadOnlyChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<System.Boolean>>

    MappingNameChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<string>> MappingNameChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<System.String>>

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    WidthChanged

    Declaration
    public event EventHandler<GridDataValueEventArgs<GridDataControlLength>> WidthChanged
    Event Type
    Type Description
    System.EventHandler<GridDataValueEventArgs<GridDataControlLength>>

    Implements

    Syncfusion.Windows.Data.IFilterDefinition
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved