Class GridDataHeaderCellModel
Inheritance
System.Object
GridDataHeaderCellModel
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridDataHeaderCellModel : GridCellModel<GridDataHeaderCellRenderer>, IDisposable
Constructors
GridDataHeaderCellModel()
Declaration
public GridDataHeaderCellModel()
Properties
CanShowColumnOptionsButton
Declaration
public bool CanShowColumnOptionsButton { get; set; }
Property Value
Type |
---|
System.Boolean |
CanShowFilterButton
Declaration
public bool CanShowFilterButton { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
Declaration
public override Size CalculatePreferredCellSize(int rowIndex, int colIndex, GridStyleInfo style, GridQueryBounds queryBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | colIndex | |
GridStyleInfo | style | |
GridQueryBounds | queryBounds |
Returns
Type |
---|
System.Windows.Size |
Overrides
GetFilterChoices(Int32)
Gets the filter choices by iterating the cell values as in Excel document. This can be further modified as per custom implementation.
Declaration
public virtual IEnumerable<object> GetFilterChoices(int colIdx)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | colIdx |
Returns
Type |
---|
System.Collections.Generic.IEnumerable<System.Object> |
Implements
System.IDisposable