Class GridDataVisibleColumn
Defines the Visible column details for the DataSource.
Inheritance
System.Object
GridDataVisibleColumn
Implements
Syncfusion.Windows.Data.IFilterDefinition
System.ComponentModel.INotifyPropertyChanged
System.IDisposable
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
Declaration
public static readonly DependencyProperty AdvanceFilteringWindowStyleProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
AllowDragProperty
Dependency property for AllowDrag.
Declaration
public static readonly DependencyProperty AllowDragProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
AllowFilterProperty
Dependency property for AllowFilters.
Declaration
public static readonly DependencyProperty AllowFilterProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
AllowGroupProperty
Dependency property for AllowGroup.
Declaration
public static readonly DependencyProperty AllowGroupProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
AllowResizeProperty
Dependency property for AllowResize.
Declaration
public static readonly DependencyProperty AllowResizeProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
AllowSortProperty
Dependency property for AllowSort.
Declaration
public static readonly DependencyProperty AllowSortProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
AutoFitProperty
Dependency property for AutoFit.
Declaration
public static readonly DependencyProperty AutoFitProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
CanFormatExcelLikeFilterTextProperty
Declaration
public static readonly DependencyProperty CanFormatExcelLikeFilterTextProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
CellEditItemTemplateProperty
Dependency property for CellTemplate.
Declaration
public static readonly DependencyProperty CellEditItemTemplateProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
CellItemTemplateProperty
Dependency property for CellTemplate.
Declaration
public static readonly DependencyProperty CellItemTemplateProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ColumnHeaderStyleProperty
Declaration
public static readonly DependencyProperty ColumnHeaderStyleProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
DataTypeProperty
Declaration
public static readonly DependencyProperty DataTypeProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
DefaultWidth
Declaration
public static readonly double DefaultWidth
Field Value
FilterBarModeProperty
Dependency property for FilterBarMode.
Declaration
public static readonly DependencyProperty FilterBarModeProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
FilterBarStyleProperty
Declaration
public static readonly DependencyProperty FilterBarStyleProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
FilterBehaviorProperty
FilterBehavior Dependency Property
Declaration
public static readonly DependencyProperty FilterBehaviorProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
FilterPanePositionProperty
Declaration
public static readonly DependencyProperty FilterPanePositionProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
FilterPaneProperty
Declaration
public static readonly DependencyProperty FilterPaneProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
HeaderCellTemplateProperty
Dependency property for HeaderCellTemplate.
Declaration
public static readonly DependencyProperty HeaderCellTemplateProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
HeaderTextProperty
Dependency property for HeaderText.
Declaration
public static readonly DependencyProperty HeaderTextProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
IncrementSeedProperty
Dependency property for IncrementSeed.
Declaration
public static readonly DependencyProperty IncrementSeedProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
IsCaseSensitiveFilterProperty
Declaration
public static readonly DependencyProperty IsCaseSensitiveFilterProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
IsHiddenProperty
Declaration
public static readonly DependencyProperty IsHiddenProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
IsIdentityProperty
Dependency property for IsIdentity.
Declaration
public static readonly DependencyProperty IsIdentityProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
IsReadOnlyProperty
Dependency property for IsReadOnly.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
IsUnboundProperty
Declaration
public static readonly DependencyProperty IsUnboundProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
MappingNameProperty
Dependency property for MappingName.
Declaration
public static readonly DependencyProperty MappingNameProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
MaximumWidthProperty
Declaration
public static readonly DependencyProperty MaximumWidthProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
MinimumWidthProperty
Dependency property for Width.
Declaration
public static readonly DependencyProperty MinimumWidthProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
MinWidth
Declaration
public static readonly double MinWidth
Field Value
ReferenceFieldsProperty
Declaration
public static readonly DependencyProperty ReferenceFieldsProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ShowAdvanceFilteringOptioninExcelLikeFilteringProperty
Declaration
public static readonly DependencyProperty ShowAdvanceFilteringOptioninExcelLikeFilteringProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ShowColumnOptionsProperty
Declaration
public static readonly DependencyProperty ShowColumnOptionsProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ShowSearchOptioninExcelLikeFilteringProperty
Declaration
public static readonly DependencyProperty ShowSearchOptioninExcelLikeFilteringProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ShowSortOptioninExcelLikeFilteringProperty
Declaration
public static readonly DependencyProperty ShowSortOptioninExcelLikeFilteringProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
SortMemberPathProperty
Declaration
public static readonly DependencyProperty SortMemberPathProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
UpdateModeProperty
Declaration
public static readonly DependencyProperty UpdateModeProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ValueConverterParameterProperty
Declaration
public static readonly DependencyProperty ValueConverterParameterProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
ValueConverterProperty
Declaration
public static readonly DependencyProperty ValueConverterProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
WidthProperty
Dependency property for Width.
Declaration
public static readonly DependencyProperty WidthProperty
Field Value
| Type |
| System.Windows.DependencyProperty |
Properties
ActualWidth
Declaration
public double ActualWidth { get; }
Property Value
AdvanceFilteringWindowStyle
Declaration
public Style AdvanceFilteringWindowStyle { get; set; }
Property Value
| Type |
| System.Windows.Style |
AllowDrag
Gets or sets a value indicating whether [allow drag].
Declaration
public bool AllowDrag { get; set; }
Property Value
AllowFilter
Gets or sets a value indicating whether [allow filter].
Declaration
public bool AllowFilter { get; set; }
Property Value
AllowGroup
Gets or sets a value indicating whether [allow group].
Declaration
public bool AllowGroup { get; set; }
Property Value
AllowResize
Gets or sets a value indicating whether [allow resize].
Declaration
public bool AllowResize { get; set; }
Property Value
AllowSort
Gets or sets a value indicating whether [allow sort].
Declaration
public bool AllowSort { get; set; }
Property Value
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
Binding
Declaration
public Binding Binding { get; set; }
Property Value
| Type |
| System.Windows.Data.Binding |
CanFormatExcelLikeFilterText
Enables / disables default formatting based on CellType
Declaration
public bool CanFormatExcelLikeFilterText { get; set; }
Property Value
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 |
| System.Windows.Style |
ColumnStyle
Declaration
public virtual GridDataColumnStyle ColumnStyle { get; set; }
Property Value
ColumnType
Gets the type of the column.
Declaration
public Type ColumnType { get; }
Property Value
DataType
Declaration
public DataType DataType { get; set; }
Property Value
ExcelLikeFilterPane
Declaration
public GridDataExcelLikeFilterPane ExcelLikeFilterPane { get; set; }
Property Value
ExcelLikeFilterPaneStyle
Declaration
public Style ExcelLikeFilterPaneStyle { get; set; }
Property Value
| Type |
| System.Windows.Style |
FilterBarMode
Declaration
public GridDataFilterBarMode FilterBarMode { get; set; }
Property Value
FilterBarStyle
Declaration
public GridDataFilterBarStyle FilterBarStyle { get; set; }
Property Value
FilterBehavior
Gets or sets the FilterBehavior property. This dependency property
indicates ....
Declaration
public FilterBehavior FilterBehavior { get; set; }
Property Value
| Type |
| Syncfusion.Linq.FilterBehavior |
FilterPane
Declaration
public GridDataFilteringPane FilterPane { get; set; }
Property Value
FilterPanePosition
Declaration
public FilterPanePosition FilterPanePosition { get; set; }
Property Value
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 |
| System.Windows.DataTemplate |
HeaderStyle
Declaration
public virtual GridDataColumnStyle HeaderStyle { get; set; }
Property Value
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
IsAdvancedFilteringMode
Declaration
public bool IsAdvancedFilteringMode { get; }
Property Value
IsCaseSensitiveFilter
Declaration
public bool IsCaseSensitiveFilter { get; set; }
Property Value
IsHidden
Gets / Sets if the VisibleColumn is hidden
Declaration
public bool IsHidden { get; set; }
Property Value
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
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
MinimumWidth
Declaration
public double MinimumWidth { get; set; }
Property Value
ReferenceFields
Declaration
public string ReferenceFields { get; set; }
Property Value
ShowAdvanceFilteringOptioninExcelLikeFiltering
Declaration
public bool ShowAdvanceFilteringOptioninExcelLikeFiltering { get; set; }
Property Value
ShowColumnOptions
Gets or Sets the ShowColumnOptions feature for this column.
Declaration
public bool ShowColumnOptions { get; set; }
Property Value
ShowSearchOptioninExcelLikeFiltering
Declaration
public bool ShowSearchOptioninExcelLikeFiltering { get; set; }
Property Value
ShowSortOptioninExcelLikeFiltering
Declaration
public bool ShowSortOptioninExcelLikeFiltering { get; set; }
Property Value
SortMemberPath
Declaration
public string SortMemberPath { get; set; }
Property Value
UpdateMode
Declaration
public UpdateMode UpdateMode { get; set; }
Property Value
ValueConverter
Gets / Sets the ValueConverter property.
Declaration
public IValueConverter ValueConverter { get; set; }
Property Value
| Type |
| System.Windows.Data.IValueConverter |
ValueConverterParameter
Gets / Sets the ValueConverterParameter property.
Declaration
public object ValueConverterParameter { get; set; }
Property Value
VisibleColumnType
Declaration
public Type VisibleColumnType { get; set; }
Property Value
Width
Declaration
public GridDataControlLength Width { get; set; }
Property Value
Methods
CreateInstanceCore()
Declaration
protected override Freezable CreateInstanceCore()
Returns
| Type |
| System.Windows.Freezable |
Dispose()
Declaration
InitializeFrom(GridDataVisibleColumn)
Declaration
public virtual void InitializeFrom(GridDataVisibleColumn other)
Parameters
Events
CellEditTemplateChanged
Declaration
public event EventHandler<GridDataValueEventArgs<DataTemplate>> CellEditTemplateChanged
Event Type
CellItemTemplateChanged
Declaration
public event EventHandler<GridDataValueEventArgs<DataTemplate>> CellItemTemplateChanged
Event Type
HeaderCellTemplateChanged
Declaration
public event EventHandler<GridDataValueEventArgs<DataTemplate>> HeaderCellTemplateChanged
Event Type
HeaderTextChanged
Declaration
public event EventHandler<GridDataValueEventArgs<string>> HeaderTextChanged
Event Type
IsReadOnlyChanged
Declaration
public event EventHandler<GridDataValueEventArgs<bool>> IsReadOnlyChanged
Event Type
MappingNameChanged
Declaration
public event EventHandler<GridDataValueEventArgs<string>> MappingNameChanged
Event Type
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
| System.ComponentModel.PropertyChangedEventHandler |
WidthChanged
Declaration
public event EventHandler<GridDataValueEventArgs<GridDataControlLength>> WidthChanged
Event Type
Implements
Syncfusion.Windows.Data.IFilterDefinition
System.ComponentModel.INotifyPropertyChanged
System.IDisposable