menu

WinForms

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

    Show / Hide Table of Contents

    Class GridPaintTriangle

    Implements the functionalities that encapsulates the painting logic for a triangle.

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

    Constructors

    GridPaintTriangle()

    Initializes the new instance of the GridScrollPositionChangingEventArgs class.

    Declaration
    public GridPaintTriangle()

    Methods

    Paint(Graphics, Rectangle, GridTriangleDirection, Brush, Pen)

    Paints a triangle to a given graphics canvas.

    Declaration
    public static void Paint(Graphics g, Rectangle bounds, GridTriangleDirection dir, Brush backBrush, Pen backPen)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics context of the canvas.

    System.Drawing.Rectangle bounds

    The System.Drawing.Rectangle with the bounds.

    GridTriangleDirection dir

    The GridTriangleDirection which indicates the sort order.

    System.Drawing.Brush backBrush

    Brush to paint the inner region of the triangle.

    System.Drawing.Pen backPen

    Pen to draw a triangle boundary.

    Paint(Graphics, Rectangle, GridTriangleDirection, Brush, Pen, Boolean)

    Paints a triangle to a given graphics canvas.

    Declaration
    public static void Paint(Graphics g, Rectangle bounds, GridTriangleDirection dir, Brush backBrush, Pen backPen, bool opaque)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics context of the canvas.

    System.Drawing.Rectangle bounds

    The System.Drawing.Rectangle with the bounds.

    GridTriangleDirection dir

    The GridTriangleDirection which indicates the sort order.

    System.Drawing.Brush backBrush

    Brush to paint the inner region of the triangle.

    System.Drawing.Pen backPen

    Pen to draw a triangle boundary.

    System.Boolean opaque

    Specifies if the triangle should be drawn transparent.

    Paint(Graphics, Rectangle, GridTriangleDirection, Brush, Pen, Pen, Pen, Boolean)

    Paints a triangle to a given graphics canvas.

    Declaration
    public static void Paint(Graphics g, Rectangle bounds, GridTriangleDirection dir, Brush backBrush, Pen backPen1, Pen backPen2, Pen backPen3, bool opaque)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics context of the canvas.

    System.Drawing.Rectangle bounds

    The System.Drawing.Rectangle with the bounds.

    GridTriangleDirection dir

    The GridTriangleDirection which indicates the sort order.

    System.Drawing.Brush backBrush

    Brush to paint the inner region of the triangle.

    System.Drawing.Pen backPen1

    Pen 1 to draw a triangle boundary.

    System.Drawing.Pen backPen2

    Pen 2 to draw a triangle boundary.

    System.Drawing.Pen backPen3

    Pen 3 to draw a triangle boundary.

    System.Boolean opaque

    Specifies if the triangle should be drawn transparent.

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