Share via


ActionGroup Class

 

This is a sealed class that represents a group of actions. This submenu may be exposed through various UI elements such as the actions pane or context menu.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.ActionsPaneItem
    Microsoft.ManagementConsole.ActionsPaneExtendedItem
      Microsoft.ManagementConsole.ActionGroup

Syntax

public sealed class ActionGroup : ActionsPaneExtendedItem
public ref class ActionGroup sealed : ActionsPaneExtendedItem
[<Sealed>]
type ActionGroup = 
    class
        inherit ActionsPaneExtendedItem
    end
Public NotInheritable Class ActionGroup
    Inherits ActionsPaneExtendedItem

Constructors

Name Description
System_CAPS_pubmethod ActionGroup()

Initializes a new instance of the ActionGroup class.

System_CAPS_pubmethod ActionGroup(String, String)

Initializes a new instance of the ActionGroup class using a display name and a long description as parameters.

System_CAPS_pubmethod ActionGroup(String, String, Int32)

Initializes a new instance of the ActionGroup class using a display name, a long description, and an image index as parameters.

System_CAPS_pubmethod ActionGroup(String, String, Int32, Object)

Initializes a new instance of the ActionGroup class using a display name, a long description, an image index, and additional user-defined data as parameters.

Properties

Name Description
System_CAPS_pubproperty Description

Gets or sets the status bar text.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty DisplayName

Gets or sets the display name for the action. If the MnemonicDisplayName property is not empty, it is used instead of the DisplayName property for UI that supports mnemonics.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty ImageIndex

Gets or sets the index of the image for the actions pane extended item.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty Items

Gets the collection of child items that are in the actions pane.

System_CAPS_pubproperty LanguageIndependentName

Gets or sets a language-independent name that uniquely identifies an item in the set of actions for an object. If this value is not specified or is empty, the value of the DisplayName property is used.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty MnemonicDisplayName

Gets or sets the mnemonic display name for the action. If available, this value is used in UI that supports mnemonics, such as menus and actions panes.(Inherited from ActionsPaneExtendedItem.)

System_CAPS_pubproperty RenderAsRegion

Gets or sets a flag that determines whether the action group is rendered as a region. The default value is false.

System_CAPS_pubproperty Tag

Gets or sets an optional user-defined value that is useful in identifying an event when it is handled.(Inherited from ActionsPaneItem.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ManagementConsole Namespace

Return to top