Class GridNonImmutableRangeInfo
GridNonImmutableRangeInfo is derived from GridRangeInfo and lets you change Top, Left, Bottom, and Right properties of the object.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public sealed class GridNonImmutableRangeInfo : GridRangeInfo, IFormattable, ICloneable, ISerializable
Constructors
GridNonImmutableRangeInfo()
Initializes an empty instance of GridNonImmutableRangeInfo class.
Declaration
public GridNonImmutableRangeInfo()
GridNonImmutableRangeInfo(GridRangeInfo)
Initializes a new instance of GridNonImmutableRangeInfo and copies data from an existing GridRangeInfo.
Declaration
public GridNonImmutableRangeInfo(GridRangeInfo range)
Parameters
Type | Name | Description |
---|---|---|
GridRangeInfo | range | A GridRangeInfo that holds data to be copied from. |
Properties
Bottom
Gets or sets the bottom row index of the range.
Declaration
public int Bottom { get; set; }
Property Value
Type |
---|
System.Int32 |
Left
Gets or sets the left column index of the range.
Declaration
public int Left { get; set; }
Property Value
Type |
---|
System.Int32 |
RangeType
Gets or sets the GridRangeInfoType for this GridRangeInfo object.
Declaration
public GridRangeInfoType RangeType { get; set; }
Property Value
Type |
---|
GridRangeInfoType |
Right
Gets or sets the right column index of the range.
Declaration
public int Right { get; set; }
Property Value
Type |
---|
System.Int32 |
Top
Gets or sets the top row index of the range.
Declaration
public int Top { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Clone()
Creates a deep copy of the GridNonImmutableRangeInfo object.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A duplicate of the current object. |
Overrides
ToRangeInfo()
Returns a new GridRangeInfo based on the GridNonImmutableRangeInfo object.
Declaration
public GridRangeInfo ToRangeInfo()
Returns
Type | Description |
---|---|
GridRangeInfo | The new GridRangeInfo. |