RibbonComboBox Class

Definition

Namespace: PCB_Investigator.PCBIControls.Ribbon
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public class RibbonComboBox : RibbonTextBox, 
	IContainsRibbonComponents, IDropDownRibbonItem
Inheritance
Component    RibbonItem    RibbonTextBox    RibbonComboBox
Implements
IContainsRibbonComponents, IDropDownRibbonItem

Constructors

RibbonComboBoxInitializes a new instance of the RibbonComboBox class

Properties

AllowTextEdit Gets or sets if the textbox allows editing
(Inherited from RibbonTextBox)
AltKey Gets or sets the key combination that activates this element when the Alt key was pressed
(Inherited from RibbonItem)
Checked Gets or sets a value indicating if the item is currently checked
(Inherited from RibbonItem)
CheckedGroup Determins the other Ribbon Items that belong to this checked group. When one button is checked the other items in this group will be unchecked automatically. This only applies to Items that are within the same Ribbon Panel or Dropdown Window.
(Inherited from RibbonItem)
DrawIconsBar Gets or sets if the icons bar should be drawn
DropDownItems Gets the collection of items to be displayed on the dropdown
DropDownMaxHeight Gets or sets the maximum height for the dropdown window. 0 = autosize. If the size is smaller than the contents then scrollbars will be shown.
DropDownResizable Gets or sets a value indicating if the DropDown should be resizable
DropDownVisible Gets or sets a value indicating if the DropDown portion of the combo box is currently shown.
Enabled Gets or sets a value indicating if the item is currently enabled
(Inherited from RibbonItem)
FlashEnabled Gets or sets a value indicating if the Image should be Flashing
(Inherited from RibbonItem)
FlashImage
(Inherited from RibbonItem)
FlashIntervall Gets or sets a value indicating the flashing frequency in Milliseconds
(Inherited from RibbonItem)
Image Gets or sets the image to be displayed on the item
(Inherited from RibbonItem)
LabelWidth Gets or sets the width of the Label. Enter zero to auto size based on contents.
(Inherited from RibbonTextBox)
MaxSizeMode Gets or sets the maximum size mode of the element
(Inherited from RibbonItem)
MinSizeMode Gets or sets the minimum size mode of the element
(Inherited from RibbonItem)
SelectedItem Gets the selected of item on the dropdown
SelectedValue Gets or sets the value of selected item on the dropdown.
Tag Gets or sets the custom object data associated with this control
(Inherited from RibbonItem)
Text Gets or sets the text that is to be displayed on the item
(Inherited from RibbonItem)
TextAlignment Sets the alignment of the label text if it exists
(Inherited from RibbonItem)
TextBoxText Gets or sets the text on the textbox
(Inherited from RibbonTextBox)
TextBoxTextBounds Overriden.
(Overrides RibbonTextBox.TextBoxTextBounds)
TextBoxWidth Gets or sets the width of the textbox
(Inherited from RibbonTextBox)
ToolTip Gets or sets the tool tip text
(Inherited from RibbonItem)
ToolTipImage Gets or sets the tool tip image
(Inherited from RibbonItem)
ToolTipTitle Gets or sets the tool tip title
(Inherited from RibbonItem)
Value Gets or sets the custom string data associated with this control
(Inherited from RibbonItem)
Visible Gets or sets the Visibility of this item
(Inherited from RibbonItem)

Methods

_actualTextbox_KeyDown Handles the KeyDown event of the actual TextBox
(Inherited from RibbonTextBox)
_actualTextbox_KeyPress Handles the KeyPress event of the actual TextBox
(Inherited from RibbonTextBox)
_actualTextbox_LostFocus Handles the LostFocus event of the actual TextBox
(Inherited from RibbonTextBox)
_actualTextbox_TextChanged Handles the TextChanged event of the actual TextBox
(Inherited from RibbonTextBox)
_actualTextbox_Validated Handles the Validated event of the actual TextBox
(Inherited from RibbonTextBox)
_actualTextbox_Validating Handles the Validating event of the actual TextBox
(Inherited from RibbonTextBox)
_actualTextBox_VisibleChanged
(Inherited from RibbonTextBox)
EndEdit Ends the editing of the textbox
(Inherited from RibbonTextBox)
GetAllChildComponents 
MeasureHeight Measures the suposed height of the textobx
(Inherited from RibbonTextBox)
MeasureSize
(Inherited from RibbonTextBox)
OnCanvasChanged Raises the CanvasChanged event
(Inherited from RibbonItem)
OnClick Raises the Click event
(Inherited from RibbonItem)
OnDoubleClick Raises the DoubleClick event
(Inherited from RibbonItem)
OnDropDownItemClicked 
OnDropDownShowing Raises the DropDownShowing event;
OnMouseDown
(Overrides RibbonTextBoxOnMouseDown(MouseEventArgs))
OnMouseEnter
(Inherited from RibbonTextBox)
OnMouseLeave
(Overrides RibbonTextBoxOnMouseLeave(MouseEventArgs))
OnMouseMove
(Overrides RibbonTextBoxOnMouseMove(MouseEventArgs))
OnMouseUp
(Overrides RibbonItemOnMouseUp(MouseEventArgs))
OnOwnerChanged Raises the OwnerChanged event
(Inherited from RibbonItem)
OnPaint
(Inherited from RibbonTextBox)
OnTextChanged Raises the TextBoxTextChanged event
(Inherited from RibbonTextBox)
RedrawItem Redraws the item area on the Onwer Ribbon
(Inherited from RibbonItem)
SetBounds
(Overrides RibbonTextBoxSetBounds(Rectangle))
ShowDropDown Shows the DropDown
StartEdit Starts editing the text and focuses the TextBox
(Inherited from RibbonTextBox)

Events

CanvasChanged
(Inherited from RibbonItem)
Click
(Inherited from RibbonItem)
DoubleClick
(Inherited from RibbonItem)
DropDownItemClicked 
DropDownShowing Raised when the DropDown is about to be displayed
MouseDown
(Inherited from RibbonItem)
MouseEnter
(Inherited from RibbonItem)
MouseLeave
(Inherited from RibbonItem)
MouseMove
(Inherited from RibbonItem)
MouseUp
(Inherited from RibbonItem)
OwnerChanged
(Inherited from RibbonItem)
TextBoxKeyDown
(Inherited from RibbonTextBox)
TextBoxKeyPress
(Inherited from RibbonTextBox)
TextBoxTextChanged Raised when the TextBoxText property value has changed
(Inherited from RibbonTextBox)
TextBoxValidated
(Inherited from RibbonTextBox)
TextBoxValidating
(Inherited from RibbonTextBox)
ToolTipPopUp Occurs before a ToolTip is initially displayed.

Remarks

Use this event to change the ToolTip or Cancel it at all.

(Inherited from RibbonItem)

See Also