RibbonPanel Class

Definition

Namespace: PCB_Investigator.PCBIControls.Ribbon
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public class RibbonPanel : Component, 
	IRibbonElement, IContainsSelectableRibbonItems, IContainsRibbonComponents
Inheritance
Component    RibbonPanel
Implements
IContainsRibbonComponents, IContainsSelectableRibbonItems, IRibbonElement

Constructors

RibbonPanel Creates a new RibbonPanel
RibbonPanel(String) Creates a new RibbonPanel with the specified text
RibbonPanel(String, RibbonPanelFlowDirection) Creates a new RibbonPanel with the specified text and panel flow direction
RibbonPanel(String, RibbonPanelFlowDirection, IEnumerableRibbonItem) Creates a new RibbonPanel with the specified text and panel flow direction

Properties

ButtonMoreEnabled Gets or sets a value indicating if the "More" button should be enabled
ButtonMoreVisible Gets or sets the visibility of the "More" button
ContentBounds Gets the bounds of the content of the panel
Enabled 
FlowsTo Gets or sets the flow direction to layout items
Image Gets or sets the image that is to be displayed on the panel when shown as an overflow button
Items Gets the collection of RibbonItem elements of this panel
SizeMode Gets the current size mode of the panel
Tag Gets or sets the object that contains data about the control
Text Gets or sets the text that is to be displayed on the bottom of the panel
Visible 

Methods

GetAllChildComponents 
GetContentBounds 
GetItems 
MeasureSize Measures the size of the panel on the mode specified by the event object
OnClick Raises the Click event
OnDoubleClick Raises the DoubleClick event
OnMouseDown Raises the MouseDown event
OnMouseEnter Raises the MouseEnter event
OnMouseLeave Raises the MouseLeave event
OnMouseMove Raises the MouseMove event
OnMouseUp Raises the MouseUp event
OnPaint Raises the paint event and draws the
SetBounds Sets the bounds of the panel
SetPressed Sets the value of the Pressed property
SwitchToSize 
ToString Overriden. Gives info about the panel as a string

Events

ButtonMoreClick 
Click 
DoubleClick 
MouseDown 
MouseEnter Occurs when the mouse pointer enters the panel
MouseLeave Occurs when the mouse pointer leaves the panel
MouseMove Occurs when the mouse pointer is moved inside the panel
MouseUp 
Paint Occurs when the panel is redrawn
Resize Occurs when the panel is resized

See Also