menu

WinForms

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

    Show / Hide Table of Contents

    Class GridPaintExcelLikeSelection

    provides functionality for drawing of Excel-like selection frame.

    Inheritance
    System.Object
    NonFinalizeDisposable
    GridSubComponent
    GridPaintExcelLikeSelection
    Implements
    System.IDisposable
    IGridDrawSelectionFrame
    Inherited Members
    GridSubComponent.Grid
    NonFinalizeDisposable.Dispose()
    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 GridPaintExcelLikeSelection : GridSubComponent, IDisposable, IGridDrawSelectionFrame

    Constructors

    GridPaintExcelLikeSelection(GridControlBase)

    Initializes a new instance GridPaintExcelLikeSelection class and attaches it to the grid.

    Declaration
    public GridPaintExcelLikeSelection(GridControlBase grid)
    Parameters
    Type Name Description
    GridControlBase grid

    The grid control.

    Methods

    Dispose(Boolean)

    Releases all resources used by the System.ComponentModel.Component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    NonFinalizeDisposable.Dispose(Boolean)
    Remarks

    See the documentation for the System.ComponentModel.Component class and its Dispose member.

    DrawSelectionFrame(GridControlBase, Graphics, Boolean, GridRangeInfo)

    Used internally. Draws the selection range frame.

    Declaration
    public void DrawSelectionFrame(GridControlBase pGrid, Graphics g, bool bDrawOld, GridRangeInfo pNewRange)
    Parameters
    Type Name Description
    GridControlBase pGrid

    The GridControlBase

    System.Drawing.Graphics g

    Points to the device context.

    System.Boolean bDrawOld

    The Boolean to determine the old drawing is need to be enabled or disabled.

    GridRangeInfo pNewRange

    The GridRangeInfoused new ranges.

    ToString()

    Returns 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
    IGridDrawSelectionFrame
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved