GH_RibbonContentBase

References
public abstract class GH_RibbonContentBase

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.

Margin

#
public Padding Margin { get; set; }

Padding

#
public Padding Padding { get; set; }

Visible

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

Methods

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

PerformLayout

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