Constructors

GH_RibbonItem

#
public GH_RibbonItem(
item_proxy
)

Fields

Region

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

Properties

ClientRegion

Gets the Client region of the layout. The client region as defined as the entire region minus the margin and the padding.
public Rectangle ClientRegion { get; set; }
inherited fromGH_RibbonContentBase

ContentRegion

Gets or sets the Content region of the layout. The content region as defined as the entire region minus the margin.
public Rectangle ContentRegion { get; set; }
inherited fromGH_RibbonContentBase

Margin

public Padding Margin { get; set; }
inherited fromGH_RibbonContentBase

Owner

#
Gets or sets the owner control for this item.
public GH_RibbonPanel Owner { get; set; }
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

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

Visible

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

Methods

CompareTo

#
public int CompareTo()

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

DisplayTooltip

#
public void DisplayTooltip()
DisplayTooltip

MouseClick

#
MouseClick

MouseDoubleClick

#
public GH_RibbonMouseEvent MouseDoubleClick()
MouseDoubleClick

MouseDown

#
MouseDown

MouseMove

#
MouseMove

MouseUp

#
MouseUp

PerformLayout

#
public override void PerformLayout()

RenderItem

#
public void RenderItem()