Back to Devexpress

ContextButton Properties

windowsforms-devexpress-dot-utils-dot-contextbutton-dot-underscore-properties.md

latest10.9 KB
Original Source

ContextButton Properties

A regular context button that can be clicked.

NameDescription
AlignmentGets or sets the current item’s alignment relative to the owner control. This property is obsolete, use ContextItem.AlignmentOptions instead. Inherited from ContextItem.
AlignmentOptionsProvides access to options that specify the panel in which the item is displayed, and its position in the panel. Inherited from ContextItem.
AllowGlyphSkinningGets or sets whether the current item’s glyph is painted using the foreground color. Inherited from ContextItem.
AllowHtmlTextGets or sets whether the current button’s caption is formatted using HTML tags. Inherited from ContextButtonBase.
AnchorAlignmentGets or sets the alignment of the current item relative to the anchor element. Inherited from ContextItem.
AnchorElementGets or sets an item (anchor element) relative to which the current item is aligned. Inherited from ContextItem.
AnchorElementIdGets or sets the globally unique identifier of the item (anchor element), relative to which the current item is aligned. Inherited from ContextItem.
AnchorIndentGets or sets the indent between the current item and the anchor element. Inherited from ContextItem.
AnchorOffsetGets or sets the translation of the current item from the anchor element. Inherited from ContextItem.
AnimationTypeGets or sets the type of the animation used to show and hide the current item. Inherited from ContextItem.
AppearanceDisabledProvides access to appearance settings applied to this ContextItem in the Disabled state. Inherited from ContextItem.
AppearanceHoverProvides access to the settings used to paint the current item in the hovered state. Inherited from ContextItem.
AppearanceNormalProvides access to the appearance settings used to paint the current item in the normal (not hovered) state. Inherited from ContextItem.
CaptionGets or sets the current button’s caption. Inherited from ContextButtonBase.
CollectionGets the collection to which the current item belongs. Inherited from ContextItem.
CommandGets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked. Inherited from ContextButtonBase.
CommandParameterGets or sets the parameter that is passed to the command specified by the Command property. Inherited from ContextButtonBase.
EnabledGets or sets whether the current item can respond to end-user interaction. Inherited from ContextItem.
GlyphGets or sets the glyph displayed by the current item in the normal (not hovered) state. This property is obsolete. Use the ImageOptionsCollection property instead. Inherited from ContextItem.
HasGlyphGets whether or not this ContextItem has a glyph assigned. Inherited from ContextItem.
HasHoverGlyphGets whether or not this ContextItem has a hovered state glyph assigned. Inherited from ContextItem.
HasPressedGlyphGets whether or not this ContextButton has a pressed state glyph assigned.
HeightGets or sets the button height. Inherited from ContextButtonBase.
HoverGlyphGets or sets the glyph displayed by the current item in the hovered state. This property is obsolete. Use the ImageOptionsCollection property instead. Inherited from ContextItem.
HyperLinkColorGets or sets the color of the hyperlink text in the current button’s caption. Inherited from ContextButtonBase.
IdGets or sets the current item’s unique identifier. Inherited from ContextItem.
ImageOptionsProvides access to all properties that allow you to assign and customize glyphs for this ContextButton.
ImageOptionsCollectionProvides access to image-related settings for each ContextButton visual state - Normal, Hovered, Pressed.
MaxHeightGets or sets the maximum height of the current button. Inherited from ContextButtonBase.
MaxWidthGets or sets the maximum width of the current button. Inherited from ContextButtonBase.
NameGets or sets the current item’s name. Inherited from ContextItem.
OriginItemThis member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from ContextItem.
PaddingGets or sets the amount of space around the current button. Inherited from ContextButtonBase.
PressedGlyphGets or sets the glyph displayed by the current item in the normal (not hovered) state. This property is obsolete. Use the ImageOptionsCollection property instead.
ShowToolTipsGets or sets whether a tooltip is shown when the mouse pointer hovers over the button. Inherited from ContextItem.
SizeGets or sets the current item’s size. Inherited from ContextItem.
SuperTipGets or sets a super tooltip shown when the mouse pointer hovers over the button. Inherited from ContextItem.
TagGets or sets custom data associated with the current item. Inherited from ContextItem.
ToolTipGets or sets the text in a regular tooltip shown when the mouse pointer hovers over the button. Inherited from ContextItem.
ToolTipIconTypeGets or sets the icon in a regular tooltip shown when the mouse pointer hovers over the button. Inherited from ContextItem.
ToolTipTitleGets or sets the title in a regular tooltip shown when the mouse pointer hovers over the button. Inherited from ContextItem.
VisibilityGets or sets the item visibility. Inherited from ContextItem.
WidthGets or sets the button width. Inherited from ContextButtonBase.

See Also

ContextButton Class

ContextButton Members

DevExpress.Utils Namespace