RibbonColorChooser Class

A RibbonButton that incorporates a Color property and draws this color below the displaying Image or [!:SmallImage]

Definition

Namespace: PCB_Investigator.PCBIControls.Ribbon
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public class RibbonColorChooser : RibbonButton
Inheritance
Component    RibbonItem    RibbonButton    RibbonColorChooser

Constructors

RibbonColorChooserInitializes a new instance of the RibbonColorChooser class

Properties

AltKey Gets or sets the key combination that activates this element when the Alt key was pressed
(Inherited from RibbonItem)
ButtonFaceBounds Gets the bounds of the button face
(Inherited from RibbonButton)
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)
CheckOnClick Gets or sets a value indicating if the [!:Checked] property should be toggled when button is clicked
(Inherited from RibbonButton)
Color Gets or sets the currently chosen color
DrawIconsBar Gets or sets if the icons bar should be drawn
(Inherited from RibbonButton)
DropDownArrowDirection Gets or sets the direction where drop down's arrow should be pointing to
(Inherited from RibbonButton)
DropDownArrowSize Gets or sets the size of the dropdown arrow
(Inherited from RibbonButton)
DropDownBounds Gets the bounds of the dropdown button
(Inherited from RibbonButton)
DropDownItems Gets the collection of items shown on the dropdown pop-up when Style allows it
(Inherited from RibbonButton)
DropDownResizable Gets or sets a value indicating if the DropDown should be resizable
(Inherited from RibbonButton)
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)
FlashSmallImage
(Inherited from RibbonButton)
Image Gets or sets the image to be displayed on the item
(Inherited from RibbonItem)
ImageColorHeight Gets or sets the height of the color preview on the Image
MaximumSize Gets or sets the maximum size for this Item. Only applies when in Large Size Mode.
(Inherited from RibbonButton)
MaxSizeMode Gets or sets the maximum size mode of the element
(Inherited from RibbonItem)
MinimumSize Gets or sets the minimum size for this Item. Only applies when in Large Size Mode.
(Inherited from RibbonButton)
MinSizeMode Gets or sets the minimum size mode of the element
(Inherited from RibbonItem)
SelectedItem Gets the last DropDown Item that was clicked
(Inherited from RibbonButton)
SelectedValue Gets or sets the value of selected item on the dropdown.
(Inherited from RibbonButton)
SmallImage Gets or sets the image of the button when in compact of medium size mode
(Inherited from RibbonButton)
SmallImageColorHeight Gets or sets the height of the color preview on the [!:SmallImage]
Style Gets the style of the button
(Inherited from RibbonButton)
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)
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

CloseDropDown Closes the DropDown if opened
(Inherited from RibbonButton)
GetAllChildComponents
(Inherited from RibbonButton)
GetItems
(Inherited from RibbonButton)
MeasureSize Measures the size of the button
(Inherited from RibbonButton)
OnCanvasChanged
(Inherited from RibbonButton)
OnClick
(Inherited from RibbonButton)
OnDoubleClick Raises the DoubleClick event
(Inherited from RibbonItem)
OnDropDownItemClicked
(Inherited from RibbonButton)
OnDropDownShowing Raises the DropDownShowing event
(Inherited from RibbonButton)
OnMouseDown
(Inherited from RibbonButton)
OnMouseEnter Raises the MouseEnter event
(Inherited from RibbonItem)
OnMouseLeave
(Inherited from RibbonButton)
OnMouseMove
(Inherited from RibbonButton)
OnMouseUp
(Inherited from RibbonButton)
OnOwnerChanged Raises the OwnerChanged event
(Inherited from RibbonItem)
OnPaint
(Overrides RibbonButtonOnPaint(Object, RibbonElementPaintEventArgs))
PerformClick Performs a click on the button
(Inherited from RibbonButton)
RedrawItem Redraws the item area on the Onwer Ribbon
(Inherited from RibbonItem)
SetBounds Sets the bounds of the button
(Inherited from RibbonButton)
ShowDropDown Shows the drop down items of the button, as if the dropdown part has been clicked
(Inherited from RibbonButton)
ToString Overriden. Informs the button text
(Inherited from RibbonButton)

Events

CanvasChanged
(Inherited from RibbonItem)
Click
(Inherited from RibbonItem)
ColorChanged Raised when the Color property has been changed
DoubleClick
(Inherited from RibbonItem)
DropDownItemClicked
(Inherited from RibbonButton)
DropDownShowing Occurs when the dropdown is about to be displayed
(Inherited from RibbonButton)
MouseDown
(Inherited from RibbonItem)
MouseEnter
(Inherited from RibbonItem)
MouseLeave
(Inherited from RibbonItem)
MouseMove
(Inherited from RibbonItem)
MouseUp
(Inherited from RibbonItem)
OwnerChanged
(Inherited from RibbonItem)
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