Class GridClearingCellsEventArgs
Provides data about the ClearingCells events.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridClearingCellsEventArgs : SyncfusionHandledEventArgs
Remarks
GridCutPasteEventArgs is a custom event argument class used by the CutPaste operations in a GridModel.
This event lets you supply your own clipboard formats or add support for pasting additional clipboard content.
Constructors
GridClearingCellsEventArgs(GridRangeInfoList, Boolean, Boolean)
Initializes the new instances of the GridEndUpdateRequestEventArgs class.
Declaration
public GridClearingCellsEventArgs(GridRangeInfoList rangeList, bool clearStyle, bool result)
Parameters
Type | Name | Description |
---|---|---|
GridRangeInfoList | rangeList | Gets / sets a list of ranges to be cleared out. |
System.Boolean | clearStyle | True if all cell style information should be cleared; False if only text should be cleared. |
System.Boolean | result | Specifies the return value the called method should return when you set Handled to True. |
Properties
ClearStyle
Gets or sets a value indicating whether cell style information should be cleared. True if all cell style information should be cleared; False if only text should be cleared.
Declaration
[TraceProperty(true)]
public bool ClearStyle { get; set; }
Property Value
Type |
---|
System.Boolean |
RangeList
Gets or sets a list of ranges to be cleared out.
Declaration
[TraceProperty(true)]
public GridRangeInfoList RangeList { get; set; }
Property Value
Type |
---|
GridRangeInfoList |
Result
Gets or sets a value indicating whether the return value the called method should return when you set Handled to True.
Declaration
[TraceProperty(true)]
public bool Result { get; set; }
Property Value
Type |
---|
System.Boolean |