Class Office2016ColorfulSplitButtonRenderer
Inheritance
System.Object
Office2016ColorfulSplitButtonRenderer
Implements
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.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class Office2016ColorfulSplitButtonRenderer : ISplitButtonRenderer
Constructors
Office2016ColorfulSplitButtonRenderer()
Declaration
public Office2016ColorfulSplitButtonRenderer()
Fields
ArrowColorDefault
Brush for default arrow color
Declaration
public SolidBrush ArrowColorDefault
Field Value
Type |
---|
System.Drawing.SolidBrush |
Methods
DrawArrow(Int32, Int32, Int32, Int32, PaintEventArgs, Color)
Method to draw arrowicon
Declaration
public void DrawArrow(int left, int top, int width, int height, PaintEventArgs e, Color ArrowColor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | left | |
System.Int32 | top | |
System.Int32 | width | |
System.Int32 | height | |
System.Windows.Forms.PaintEventArgs | e | |
System.Drawing.Color | ArrowColor |
DrawBorder(PaintEventArgs, Int32, Int32, Int32, Color, Color, Color, Color, Color)
Method to draw border for SplitButton
Declaration
public void DrawBorder(PaintEventArgs e, int width, int height, int splitwidth, Color outerColor, Color innerColor, Color arrowOuter, Color arrowInner, Color buttonInner)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | |
System.Int32 | width | |
System.Int32 | height | |
System.Int32 | splitwidth | |
System.Drawing.Color | outerColor | |
System.Drawing.Color | innerColor | |
System.Drawing.Color | arrowOuter | |
System.Drawing.Color | arrowInner | |
System.Drawing.Color | buttonInner |
DrawText(PaintEventArgs, String, Font, Color, Int32, Int32, Int32)
Method to draw Text for SplitButton
Declaration
public void DrawText(PaintEventArgs e, string text, Font font, Color color, int totalwidth, int totalheight, int splitwidth)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | |
System.String | text | |
System.Drawing.Font | font | |
System.Drawing.Color | color | |
System.Int32 | totalwidth | |
System.Int32 | totalheight | |
System.Int32 | splitwidth |