Class HeaderControlGlyph
Glyph for RibbonHeaderControl.
Inheritance
System.Object
HeaderControlGlyph
Namespace: Syncfusion.Windows.Forms.Tools.Design
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class HeaderControlGlyph : Glyph
Constructors
HeaderControlGlyph(RibbonHeaderControl, BehaviorService, HeaderControlBehavior)
Initializes a new instance of the HeaderControlGlyph class.
Declaration
public HeaderControlGlyph(RibbonHeaderControl control, BehaviorService behaviorService, HeaderControlBehavior headerControlBehavior)
Parameters
Type | Name | Description |
---|---|---|
RibbonHeaderControl | control | Design time instance of RibbonTabGroup. |
System.Windows.Forms.Design.Behavior.BehaviorService | behaviorService | RibbonTabGroup designer behavior service. |
HeaderControlBehavior | headerControlBehavior | TabGroupBehavior instance. |
Properties
Bounds
Gets bounds of items area.
Declaration
public override Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Methods
GetHitTest(Point)
Provides hit test logic.
Declaration
public override Cursor GetHitTest(Point p)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | p | A point to hit-test. |
Returns
Type | Description |
---|---|
System.Windows.Forms.Cursor | A System.Windows.Forms.Cursor if the System.Windows.Forms.Design.Behavior.Glyph is associated with p; otherwise, null. |
Paint(PaintEventArgs)
Marks selected item.
Declaration
public override void Paint(PaintEventArgs pe)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | pe | EventArgs that contains the event data. |