public sealed class GH_RibbonItem : GH_RibbonContentBase, IGH_RibbonInteractiveObject, IComparable<GH_RibbonItem>
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.
Owner
#Gets or sets the owner control for this item.
Remarks: If you supply a NULL value, you cannot call any interface methods
Value: The GH_RibbonItem 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