GH_RibbonContentBase

References
public abstract class GH_RibbonContentBase

Fields

Region

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

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; }

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; }

Margin

#
public Padding Margin { get; set; }

Padding

#
public Padding Padding { get; set; }

Visible

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

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

PerformLayout

#
This method is called when the control layout has potentially expired.
public abstract void PerformLayout()