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)
Declaration
public DrawParams(bool enabled, Color back, RectangleF bounds, ContentAlignment align, bool bRightToLeft)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enabled | |
System.Drawing.Color | back | |
System.Drawing.RectangleF | bounds | |
System.Drawing.ContentAlignment | align | |
System.Boolean | bRightToLeft |
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 |