alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DrawParams

    Represents the class for drawing style option of the control.

    Inheritance
    System.Object
    DrawParams
    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
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class DrawParams

    Constructors

    DrawParams()

    Default constructor

    Declaration
    public DrawParams()

    DrawParams(Boolean, Color, RectangleF, ContentAlignment)

    Constructor with variables initialization.

    Declaration
    public DrawParams(bool enabled, Color back, RectangleF bounds, ContentAlignment align)
    Parameters
    Type Name Description
    System.Boolean enabled
    System.Drawing.Color back
    System.Drawing.RectangleF bounds
    System.Drawing.ContentAlignment align

    DrawParams(Boolean, Color, RectangleF, ContentAlignment, Boolean)

    Initializes a new instance of the DrawParams class with specified parameters.

    Declaration
    public DrawParams(bool enabled, Color back, RectangleF bounds, ContentAlignment align, bool bRightToLeft)
    Parameters
    Type Name Description
    System.Boolean enabled

    Indicates whether the drawing is enabled.

    System.Drawing.Color back

    The background color to be used.

    System.Drawing.RectangleF bounds

    The bounding rectangle for the drawing.

    System.Drawing.ContentAlignment align

    The content alignment within the bounds.

    System.Boolean bRightToLeft

    Indicates whether the layout is right-to-left.

    Properties

    Align

    Declaration
    public ContentAlignment Align { get; set; }
    Property Value
    Type
    System.Drawing.ContentAlignment

    Bounds

    Declaration
    public RectangleF Bounds { get; set; }
    Property Value
    Type
    System.Drawing.RectangleF

    ControlBackColor

    Declaration
    public Color ControlBackColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    Enabled

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type
    System.Boolean

    RightToLeft

    Declaration
    public bool RightToLeft { get; set; }
    Property Value
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved