Constructors
Fields
Region
public Rectangle Region
Represents the entire region taken up by this object.
Properties
ClientRegion
public Rectangle ClientRegion { get; set; }
Gets the Client region of the layout. The client region as defined as the entire region minus the margin and the padding.
ContentRegion
public Rectangle ContentRegion { get; set; }
Gets or sets the Content region of the layout. The content region as defined as the entire region minus the margin.
DisplayStyle
#Gets or sets the display style of a tab. This style is set by the ribbon control during layout, do not set it yourself.
Grip
#public Rectangle Grip { get; set; }
Gets or sets the grip region for this tab.
Remarks: The grip region is the clickable region around the name.
Owner
#Gets the owner control for this tab.
Remarks: If you supply a NULL value, you cannot call any interface methods
Value: The GH_RibbonControl owner
Visible
Gets or sets visibility of this control. Typically visibility affects drawing and mouse interaction
Methods
Contains
Tests to see if the given point is considered to be 'on' the control. By default, the content region of the control is tested, but derived classes can override this behaviour.
Parameters:
| pt (Point) | Point to test for |
MouseDoubleClick
#Parameters:
| sender (GH_Ribbon) | |
| e (GH_RibbonMouseEventArgs) |
Implements: MouseDoubleClick
PerformLayout
#public override void PerformLayout()
Performs layout logic of all panels
Overrides: GH_RibbonContentBase.PerformLayout