ContextItemCollectionOptions Members
Stores a ContextItemCollection‘s settings. Use the ContextItemCollection.Options property or the control’s repository item to access them.Constructors
| Name | Description |
|---|---|
| ContextItemCollectionOptions() | Initializes a new instance of the ContextItemCollectionOptions class. |
| ContextItemCollectionOptions(IContextItemCollectionOptionsOwner) | Initializes a new instance of the ContextItemCollectionOptions class with specified settings. |
Properties
| Name | Description |
|---|---|
| AllowGlyphSkinning | Enables or disables glyph skinning for context items that display images. |
| AllowHtmlText | Gets or sets whether context items support HTML tags. |
| AllowHtmlTextInToolTip | Gets or sets whether context items‘ tooltips support HTML tags. |
| AnimationTime | Gets or sets the time required to show or hide context items. |
| AnimationType | Gets or sets the ContextItem animation type. The animation is displayed to show or hide context items. |
| BottomPanelColor | Gets or sets a Color for a control’s bottom panel that contains context items. |
| BottomPanelPadding | Gets or sets Padding for context items inside the bottom panel. |
| CenterPanelColor | Gets or sets a Color for a control’s center panel that contains context items. |
| CenterPanelPadding | Gets or sets Padding for context items inside the center panel. |
| DisabledStateOpacity | Gets or sets opacity for all disabled context items. |
| FarPanelColor | Gets or sets a Color for a control’s far panel that contains context items. |
| FarPanelPadding | Gets or sets Padding for context items inside the far panel. |
| HoverStateOpacity | Gets or sets opacity for hovered context items. |
| Indent | Gets or sets the distance between context items. |
| ItemCursor | Gets or sets a cursor type for ContextItem interaction. |
| NearPanelColor | Gets or sets a Color for a control’s near panel that contains context items. |
| NearPanelPadding | Gets or sets Padding for context items inside the near panel. |
| NormalStateOpacity | Gets or sets ContextItem opacity. |
| Owner | An IContextItemCollectionOptionsOwner object that owns ContextItemCollectionOptions. |
| PanelCursor | Gets or sets a Cursor displayed when the mouse pointer hovers over a panel that contains context items |
| ShowToolTips | Gets or sets whether tooltips are shown when the mouse pointer hovers over context buttons. |
| TopPanelColor | Gets or sets a Color for a control’s top panel that contains context items. |
| TopPanelPadding | Gets or sets Padding for context items inside the top panel. |
Methods
| Name | Description |
|---|---|
| Assign(ContextItemCollectionOptions) | Assigns a ContextItemCollection‘s settings to a different ContextItemCollection‘s options. |
| Assign(BaseOptions) | Copies all settings from the options object passed as a parameter. Inherited from BaseOptions. |
| BeginUpdate() | Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions. |
| CancelUpdate() | Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions. |
| Clone() | Returns a copy of a ContextItemCollectionOptions object. |
| EndUpdate() | Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| Reset() | Resets all options to their default values. Inherited from BaseOptions. |
| ToString() | Returns a string representing the currently enabled options. Inherited from BaseOptions. |
See Also