Skip to main content
.NET 6.0+

ChoiceActionItem Members

An item of the SingleChoiceAction Action.

Constructors

Name Description
ChoiceActionItem() Initializes a new instance of the ChoiceActionItem class.
ChoiceActionItem(IModelBaseChoiceActionItem, Object) Creates a new ChoiceActionItem and initializes its Application Model node.
ChoiceActionItem(IModelBaseChoiceActionItem) Creates a new ChoiceActionItem and initializes its Application Model node.
ChoiceActionItem(String, Object) Creates a ChoiceActionItem and initializes its caption and data source.
ChoiceActionItem(String, String, Object) Initializes a new instance of the ChoiceActionItem class.

Fields

Name Description
DisplayMember You do not need to use this field. It is for internal use only.
HasActiveItemsKey You do not need to use this field. It is for internal use only.

Properties

Name Description
Active Provides access to a collection of reason/value pairs used to make a ChoiceActionItem active/inactive, or to determine its active state.
ActiveItemsBehavior Specifies whether to display a Choice Action Item when its child items are deactivated.
BeginGroup Specifies whether the current Choice Action Item starts a group.
Caption Specifies a Choice Action Item’s caption.
Data Specifies the object which is associated with a Choice Action Item of a custom Action.
DataItems This property is intended for internal use.
Enabled Provides access to a collection of reason/value pairs used to make a ChoiceActionItem enabled\disabled or to determine its enabled state.
Id Returns a Choice Action Item’s identifier.
ImageName Specifies the name of the image which is displayed by the Choice Action Item’s control.
Items Provides access to a Choice Action Item’s item collection.
Model Provides access to information on a Choice Action Item, which is stored in an Application Model node.
ParentItem Returns the current ChoiceActionItem’s parent item.
Shortcut Specifies the a Choice Action Item’s shortcut.
ToolTip This property is for internal use. To specify the tooltip text that is displayed for the current ChoiceActionItem, use the IModelToolTip.ToolTip property of the ActionDesign | Actions | <Action> | ChoiceActionItems | Item node.

Methods

Name Description
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.
GetCaptionPath() Returns a full caption path from the current Item to the ChoiceActionBase.Items collection’s first-level parent Item.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetIdPath() Returns a full identifier path from the current Item to the ChoiceActionBase.Items collection’s first-level parent Item.
GetItemPath() Returns a full path from the current Item to the ChoiceActionBase.Items collection’s first-level parent Item.
GetType() Gets the Type of the current instance. Inherited from Object.
IsHierarchical() Checks whether the ChoiceActionItem.Items collection exposed by the current ChoiceActionItem has a tree-like structure.
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.
ToString() Returns a Choice Action Item’s textual representation.
See Also