menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRangeStyle - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridRangeStyle

    implements the functionalities to manage RangeStyles by the GridRangeStyleCollection.

    Inheritance
    System.Object
    GridRangeStyle
    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)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridRangeStyle : IDisposable

    Constructors

    GridRangeStyle()

    Initializes a new empty instance of GridRangeStyle class.

    Declaration
    public GridRangeStyle()

    GridRangeStyle(GridRangeInfo, GridStyleInfoStore)

    Initializes a new instances ofGridRangeStyle class.

    Declaration
    public GridRangeStyle(GridRangeInfo range, GridStyleInfoStore styleStore)
    Parameters
    Type Name Description
    GridRangeInfo range

    The cell range.

    GridStyleInfoStore styleStore

    The style store.

    GridRangeStyle(Int32, Int32)

    Initializes a new instances ofGridRangeStyleclass.

    Declaration
    public GridRangeStyle(int rowIndex, int colIndex)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The Row index.

    System.Int32 colIndex

    The Column index.

    GridRangeStyle(Int32, Int32, GridStyleInfoStore)

    Initializes a new instance ofGridRangeStyle class.

    Declaration
    public GridRangeStyle(int rowIndex, int colIndex, GridStyleInfoStore styleStore)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The Row Index.

    System.Int32 colIndex

    The Column Index.

    GridStyleInfoStore styleStore

    Style store.

    GridRangeStyle(Int32, Int32, Int32, Int32, GridStyleInfoStore)

    Initializes a new instance ofGridRangeStyle class.

    Declaration
    public GridRangeStyle(int top, int left, int bottom, int right, GridStyleInfoStore styleStore)
    Parameters
    Type Name Description
    System.Int32 top

    Top row index.

    System.Int32 left

    Left column index.

    System.Int32 bottom

    Bottom row index.

    System.Int32 right

    Right column index.

    GridStyleInfoStore styleStore

    Style store.

    Properties

    Range

    Gets or sets the range that the cell information should be applied to.

    Declaration
    public GridRangeInfo Range { get; set; }
    Property Value
    Type
    GridRangeInfo

    RangeInfo

    Gets or sets RangeInfo. Used internally.

    Declaration
    public string RangeInfo { get; set; }
    Property Value
    Type
    System.String

    StyleInfo

    Gets or sets the cell information that should be applied to the range.

    Declaration
    public GridStyleInfo StyleInfo { get; set; }
    Property Value
    Type
    GridStyleInfo

    Methods

    Dispose()

    Releases all the resources used by this component.

    Declaration
    public void Dispose()

    ToString()

    Overridden to get a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents the current object.

    Overrides
    System.Object.ToString()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved