BinaryRibbonTabItem
A custom control that renders and works like a tab item as is seen in MS Office Ribbon applications.
public class BinaryRibbonTabItem : Control, IBinaryRibbonKeyTipControl
Inherits from / implements: Control, IBinaryRibbonKeyTipControl
Members at a glance
BinaryRibbonTabItem | Initializes a new instance of the BinaryRibbonTabItem class. |
AvailableRibbonGroups | Gets the available ribbon groups. |
BackgroundColor | Gets the color of the background. |
HeaderText | Gets or sets the header text for the tab item header area text. |
IsContextualTabItem | Gets or sets a value indicating whether this instance is contextual tab item. |
IsCurrentlySelected | Gets or sets a value indicating whether this instance is currently selected. |
LogicalChildren | Gets the children this element contributes to the logical tree. |
RibbonPanel | Gets or sets the associated BinaryRibbonBarPanel instance. |
SmallImage | Gets or sets the small image associated with this instance of control. |
EndInit | Indicates that the initialization process for the element is complete. |
GetImageStretch | Gets the image stretch. |
OnApplyTemplate | When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate. |
OnKeyDown | Raises the KeyDown event. BinaryRibbonTabItem overrides it so the control's own handling runs alongside the base behavior. |
OnMouseDoubleClick | Raises the MouseDoubleClick event. BinaryRibbonTabItem overrides it so the control's own handling runs alongside the base behavior. |
OnMouseLeftButtonDown | Raises the MouseLeftButtonDown event. BinaryRibbonTabItem overrides it so the control's own handling runs alongside the base behavior. |
SetImageStretch | Sets the image stretch. |
HeaderTextProperty | HeaderTextProperty property. |
ImageStretchProperty | ImageStretchProperty attached property. |
IsContextualTabItemProperty | IsContextualTabItemProperty property. |
IsCurrentlySelectedProperty | IsCurrentlySelectedProperty property. |
SmallImageProperty | SmallImageProperty property. |
Constructors
BinaryRibbonTabItem
Initializes a new instance of the BinaryRibbonTabItem class.
Properties
AvailableRibbonGroups
Gets the available ribbon groups.
Value. The available ribbon groups.
BackgroundColor
Gets the color of the background.
Value. The color of the background.
HeaderText
Gets or sets the header text for the tab item header area text.
IsContextualTabItem
Gets or sets a value indicating whether this instance is contextual tab item.
Value. true if this instance is contextual tab item; otherwise, false .
IsCurrentlySelected
Gets or sets a value indicating whether this instance is currently selected.
Value. true if this instance is currently selected; otherwise, false .
LogicalChildren
Gets the children this element contributes to the logical tree.
RibbonPanel
Gets or sets the associated BinaryRibbonBarPanel instance.
Value. The ribbon panel.
SmallImage
Gets or sets the small image associated with this instance of control.
Value. The small image.
Methods
EndInit
Indicates that the initialization process for the element is complete.
- InvalidOperationException
EndInitwas called withoutBeginInithaving previously been called on the element.
GetImageStretch
Gets the image stretch.
- obj
- The obj.
OnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
OnKeyDown
Raises the KeyDown event. BinaryRibbonTabItem overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseDoubleClick
Raises the MouseDoubleClick event. BinaryRibbonTabItem overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseLeftButtonDown
Raises the MouseLeftButtonDown event. BinaryRibbonTabItem overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
SetImageStretch
Sets the image stretch.
- obj
- The obj.
- value
- The value.
Fields
HeaderTextProperty
HeaderTextProperty property.
ImageStretchProperty
ImageStretchProperty attached property.
IsContextualTabItemProperty
IsContextualTabItemProperty property.
IsCurrentlySelectedProperty
IsCurrentlySelectedProperty property.
SmallImageProperty
SmallImageProperty property.