Class GridGroupDropAreaModel
Implements the model or data part of the group drop area. Used internally.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid.Grouping
Assembly: Syncfusion.Grid.Grouping.Windows.dll
Syntax
public class GridGroupDropAreaModel : GridModel, IGridVolatileDataContainer, IOperationFeedbackProvider, ICreateControl, IGridModelSource, ISerializable, IDisposable, IDeserializationCallback
Constructors
GridGroupDropAreaModel(GridTableModel)
Initializes a new instances the GridGroupDropAreaModel class with the specified instance of the GridTableModel class. Used internally.
Declaration
public GridGroupDropAreaModel(GridTableModel gridTableModel)
Parameters
Type | Name | Description |
---|---|---|
GridTableModel | gridTableModel |
Properties
GridTableModel
Gets the grid table's model. Used internally.
Declaration
public GridTableModel GridTableModel { get; }
Property Value
Type |
---|
GridTableModel |
HasTable
Gets a value indicating whether the grid model have a table or not. Used internally.
Declaration
public bool HasTable { get; }
Property Value
Type |
---|
System.Boolean |
Table
Gets or sets the instance of the GridTable class. Used internally. Gets or sets the Grid table.
Declaration
public GridTable Table { get; set; }
Property Value
Type |
---|
GridTable |
Methods
ColIndexToField(Int32)
Gets the field index from the specified column index. Used internally.
Declaration
public int ColIndexToField(int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | colIndex | The column index. |
Returns
Type | Description |
---|---|
System.Int32 | The field index. |
Dispose(Boolean)
Overrides and manages the unwanted resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True, if the method call is from the parent; Otherwise False then, the call is from the Finalizer. |
Overrides
FieldToColIndex(Int32)
Gets the column index from the field index. Used internally.
Declaration
public int FieldToColIndex(int fieldNum)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | fieldNum | The field index. |
Returns
Type | Description |
---|---|
System.Int32 | The column index. |
GetColIndexOf(GridColumnDescriptor)
Gets the column index of the specified column descriptor item. Used internally.
Declaration
public int GetColIndexOf(GridColumnDescriptor cd)
Parameters
Type | Name | Description |
---|---|---|
GridColumnDescriptor | cd | The GridColumnDescriptor. |
Returns
Type | Description |
---|---|
System.Int32 | Returns the column index. |
GetHeaderColumnDescriptorAt(GridRangeInfo)
Gets the header column descriptor at.
Declaration
public GridColumnDescriptor GetHeaderColumnDescriptorAt(GridRangeInfo cell)
Parameters
Type | Name | Description |
---|---|---|
GridRangeInfo | cell | The GridRangeInfo cell. |
Returns
Type | Description |
---|---|
GridColumnDescriptor | Returns the GridColumnDescriptor. |
GetHeaderColumnDescriptorAt(Int32, Int32)
Gets the column header descriptor at the specified row and column index. Used internally.
Declaration
public GridColumnDescriptor GetHeaderColumnDescriptorAt(int rowIndex, int colIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The row index. |
System.Int32 | colIndex | The column index. |
Returns
Type | Description |
---|---|
GridColumnDescriptor | An instance of the GridColumnDescriptor contains the event data. |
GetRangeInfoOf(GridColumnDescriptor)
Gets the range span of the specified column descriptor item. Used internally.
Declaration
public GridRangeInfo GetRangeInfoOf(GridColumnDescriptor cd)
Parameters
Type | Name | Description |
---|---|---|
GridColumnDescriptor | cd | The GridColumnDescriptor. |
Returns
Type | Description |
---|---|
GridRangeInfo | Returns the GridRangeInfo of the specified column descriptor item. |
HighestGroupedColumn(SortColumnDescriptorCollection)
Gets the Highest grouped column.
Declaration
public int HighestGroupedColumn(SortColumnDescriptorCollection groupedcolumns)
Parameters
Type | Name | Description |
---|---|---|
SortColumnDescriptorCollection | groupedcolumns | An instance of the SortColumnDescriptorCollection contains the event data. |
Returns
Type | Description |
---|---|
System.Int32 | Index of Highest Group drop area. |
OnQueryCellInfo(GridQueryCellInfoEventArgs)
Declaration
protected override void OnQueryCellInfo(GridQueryCellInfoEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridQueryCellInfoEventArgs | e |
Overrides
OnQueryColWidth(GridRowColSizeEventArgs)
Triggered when the QueryColWidth event is done.
Declaration
protected override void OnQueryColWidth(GridRowColSizeEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridRowColSizeEventArgs | e | The GridRowColSizeEventArgs contains the event data. |
Overrides
OnQueryCoveredRange(GridQueryCoveredRangeEventArgs)
Declaration
protected override void OnQueryCoveredRange(GridQueryCoveredRangeEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridQueryCoveredRangeEventArgs | e |
Overrides
OnQueryRowHeight(GridRowColSizeEventArgs)
Triggered when the QueryRowHeight event is done.
Declaration
protected override void OnQueryRowHeight(GridRowColSizeEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GridRowColSizeEventArgs | e | The GridRowColSizeEventArgs contains the event data. |
Overrides
ResizeColumns()
Performs the column resizing operation.
Used internally.
Declaration
public void ResizeColumns()
TextWidth(String, Font)
Gets the total Text Width of given string.
Declaration
public int TextWidth(string text, Font font)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | String to find width. |
System.Drawing.Font | font | Text font. |
Returns
Type | Description |
---|---|
System.Int32 | Width of text. |
ToString()
Overrides and returns the string value of the current instance. Used internally.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String containing the name of the System.ComponentModel.Component, if any, or null if the System.ComponentModel.Component is unnamed. |