Skip to main content

ContextItem Properties

Represents a base class for context items: buttons, track bars, etc.
Name Description
Alignment Gets or sets the current item’s alignment relative to the owner control. This property is obsolete, use ContextItem.AlignmentOptions instead.
AlignmentOptions Provides access to options that specify the panel in which the item is displayed, and its position in the panel.
AllowGlyphSkinning Gets or sets whether the current item’s glyph is painted using the foreground color.
AnchorAlignment Gets or sets the alignment of the current item relative to the anchor element.
AnchorElement Gets or sets an item (anchor element) relative to which the current item is aligned.
AnchorElementId Gets or sets the globally unique identifier of the item (anchor element), relative to which the current item is aligned.
AnchorIndent Gets or sets the indent between the current item and the anchor element.
AnchorOffset Gets or sets the translation of the current item from the anchor element.
AnimationType Gets or sets the type of the animation used to show and hide the current item.
AppearanceDisabled Provides access to appearance settings applied to this ContextItem in the Disabled state.
AppearanceHover Provides access to the settings used to paint the current item in the hovered state.
AppearanceNormal Provides access to the appearance settings used to paint the current item in the normal (not hovered) state.
Collection Gets the collection to which the current item belongs.
Enabled Gets or sets whether the current item can respond to end-user interaction.
Glyph Gets or sets the glyph displayed by the current item in the normal (not hovered) state.
HasGlyph Gets whether or not this ContextItem has a glyph assigned.
HasHoverGlyph Gets whether or not this ContextItem has a hovered state glyph assigned.
HoverGlyph Gets or sets the glyph displayed by the current item in the hovered state.
Id Gets or sets the current item’s unique identifier.
ImageOptions Provides access to all properties that allow you to assign and customize a glyph for this ContextItem.
ImageOptionsCollection Provides access to image-related settings for each ContextItem visual state.
Name Gets or sets the current item’s name.
OriginItem This member supports the internal infrastructure, and is not intended to be used directly from your code.
ShowToolTips Gets or sets whether a tooltip is shown when the mouse pointer hovers over the button.
Size Gets or sets the current item’s size.
SuperTip Gets or sets a super tooltip shown when the mouse pointer hovers over the button.
Tag Gets or sets custom data associated with the current item.
ToolTip Gets or sets the text in a regular tooltip shown when the mouse pointer hovers over the button.
ToolTipIconType Gets or sets the icon in a regular tooltip shown when the mouse pointer hovers over the button.
ToolTipTitle Gets or sets the title in a regular tooltip shown when the mouse pointer hovers over the button.
Visibility Gets or sets the item visibility.
See Also