Represents a container for GH_Object instances. Containers are top-level objects in the RCP.
Constructors
RcpGroup
#public RcpGroup()
Properties
Bounds
public virtual Rectangle Bounds { get; set; }
Implements: Bounds
ContentRectangle
#Gets the rectangle taken up by the part of the control that is not the title bar or the borders. If the container is collapsed then this area will have a height of zero.
public Rectangle ContentRectangle { get; }
IconRectangle
#Gets the rectangle taken up by the icon in the container bar.
public Rectangle IconRectangle { get; }
ItemLayoutRectangle
#Gets the rectangle used for item layouts. This is basically the ContentRectangle minus itempadding on all edges.
public Rectangle ItemLayoutRectangle { get; }
Items
#NameRectangle
#Gets the rectangle taken up by the title text in the container bar.
public Rectangle NameRectangle { get; }
OwnerInstanceId
Implements: OwnerInstanceId
TitleRectangle
#Gets the rectangle taken up by the entire container bar.
public Rectangle TitleRectangle { get; }
Methods
AddItem
#AddItem
#Collapse
#public void Collapse()
Expand
#public void Expand()
FindItem
#ImpliedInsertionIndex
#Finds the insertion index implied by the position of a point.
IndexAt
#Gets the item index at the given point.
Returns: The index of the item at pt or -1 if no item exists at this location.
ItemAt
#Gets the item at the given point.
Returns: The item at the given point or null if no such item could be found.
LayoutItems
#Layout all items within the content area. It is the responsibility of the caller to assign the correct dimensions and position to the group bounds. I.e. make sure that the height of the of the Bounds are the same as the DesiredHeight. Layout will not occur when a group is collapsed.
public void LayoutItems()
MouseClick
Implements: MouseClick
MouseDoubleClick
Implements: MouseDoubleClick
MouseDown
Implements: MouseDown
MouseMove
Implements: MouseMove
MouseUp
Implements: MouseUp
Toggle
#public void Toggle()