Constructors

GH_RibbonItem

#
public GH_RibbonItem(IGH_ObjectProxy item_proxy)
item_proxy (IGH_ObjectProxy)

Fields

Region

public Rectangle Region
Represents the entire region taken up by this object.
inherited fromGH_RibbonContentBase

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.
inherited fromGH_RibbonContentBase

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.
inherited fromGH_RibbonContentBase

Margin

public Padding Margin { get; set; }
inherited fromGH_RibbonContentBase

Owner

#
public GH_RibbonPanel Owner { get; set; }
Gets or sets the owner control for this item.
Remarks: If you supply a NULL value, you cannot call any interface methods
The GH_RibbonItem owner

Padding

public Padding Padding { get; set; }
inherited fromGH_RibbonContentBase

Proxy

#
public IGH_ObjectProxy Proxy { get; set; }
Gets or sets the proxy object that this item refers to.

Visible

public bool Visible { get; set; }
Gets or sets visibility of this control. Typically visibility affects drawing and mouse interaction
inherited fromGH_RibbonContentBase

Methods

CompareTo

#
public int CompareTo(GH_RibbonItem other)
other (GH_RibbonItem)

Contains

public virtual bool Contains(Point pt)
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.
inherited fromGH_RibbonContentBase
pt (Point)Point to test for

DisplayTooltip

#
public void DisplayTooltip(GH_TooltipDisplayEventArgs e)
DisplayTooltip

MouseClick

#
sender (GH_Ribbon)
e (GH_RibbonMouseEventArgs)
MouseClick

MouseDoubleClick

#
public GH_RibbonMouseEvent MouseDoubleClick(GH_Ribbon sender, GH_RibbonMouseEventArgs e)
sender (GH_Ribbon)
e (GH_RibbonMouseEventArgs)
MouseDoubleClick

MouseDown

#
sender (GH_Ribbon)
e (GH_RibbonMouseEventArgs)
MouseDown

MouseMove

#
sender (GH_Ribbon)
e (GH_RibbonMouseEventArgs)
MouseMove

MouseUp

#
sender (GH_Ribbon)
e (GH_RibbonMouseEventArgs)
MouseUp

PerformLayout

#
public override void PerformLayout()

RenderItem

#
public void RenderItem(Graphics g)
g (Graphics)