ContextItem Members
In This Article
#Constructors
Name | Description |
---|---|
Context |
Initializes a new instance of the Context |
#Properties
Name | Description |
---|---|
Alignment |
Gets or sets the current item’s alignment relative to the owner control. This property is obsolete, use Context |
Alignment |
Provides access to options that specify the panel in which the item is displayed, and its position in the panel. |
Allow |
Gets or sets whether the current item’s glyph is painted using the foreground color. |
Anchor |
Gets or sets the alignment of the current item relative to the anchor element. |
Anchor |
Gets or sets an item (anchor element) relative to which the current item is aligned. |
Anchor |
Gets or sets the globally unique identifier of the item (anchor element), relative to which the current item is aligned. |
Anchor |
Gets or sets the indent between the current item and the anchor element. |
Anchor |
Gets or sets the translation of the current item from the anchor element. |
Animation |
Gets or sets the type of the animation used to show and hide the current item. |
Appearance |
Provides access to appearance settings applied to this Context |
Appearance |
Provides access to the settings used to paint the current item in the hovered state. |
Appearance |
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. This property is obsolete. Use the Image |
Has |
Gets whether or not this Context |
Has |
Gets whether or not this Context |
Hover |
Gets or sets the glyph displayed by the current item in the hovered state. This property is obsolete. Use the Image |
Id | Gets or sets the current item’s unique identifier. |
Image |
Provides access to all properties that allow you to assign and customize a glyph for this Context |
Image |
Provides access to image-related settings for each Context |
Name | Gets or sets the current item’s name. |
Origin |
This member supports the internal infrastructure, and is not intended to be used directly from your code. |
Show |
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. |
Super |
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. |
Tool |
Gets or sets the text in a regular tooltip shown when the mouse pointer hovers over the button. |
Tool |
Gets or sets the icon in a regular tooltip shown when the mouse pointer hovers over the button. |
Tool |
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. |
#Methods
Name | Description |
---|---|
Assign |
This member supports the internal infrastructure, and is not intended to be used directly from your code. |
Assign |
This member supports the internal infrastructure, and is not intended to be used directly from your code. |
Begin |
Locks the Context |
Cancel |
Unlocks the Context |
Clone() |
Creates a new Context |
End |
Unlocks the Context |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Returns the Image object specifying the glyph actually assigned. |
Get |
Returns the Image object specifying the hovered state glyph actually assigned. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Raise |
Raises the Context |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Reset |
Removes the Super |
To |
Returns a string that represents the current object. Inherited from Object. |
#Events
Name | Description |
---|---|
Click | Fires when the current item is clicked. |
Custom |
Allows you to specify a tooltip shown when the mouse pointer hovers over a context button. This event is only raised for Rating |
See Also