Skip to main content
A newer version of this page is available. .

ContextItem Properties

The base class for the context buttons.
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.
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 hints can be displayed for the current item.
Size Gets or sets the current item’s size.
SuperTip Gets or sets a SuperToolTip for the current context item.
Tag Gets or sets custom data associated with the current item.
ToolTip Gets or sets the text of the hint for the current item.
ToolTipIconType Gets or sets the type of icon displayed in the hint for the current item.
ToolTipTitle Gets or sets the title of the hint for the current item.
Visibility Gets or sets the item visibility.
See Also