Search Results for

    Show / Hide Table of Contents

    Class AbstractCommandBarItemAttribute

    Abstract base class for command bar item extension attributes.

    Inheritance
    System.Object
    AbstractCommandBarItemAttribute
    ActionAttribute
    RibbonGroupAttribute
    Namespace: Sdl.Desktop.IntegrationApi.Extensions
    Assembly: Sdl.Desktop.IntegrationApi.Extensions.dll
    Syntax
    public abstract class AbstractCommandBarItemAttribute : ExtensionAttribute
    Remarks

    The concrete classes extending this abstract base class:

    Constructors

    AbstractCommandBarItemAttribute()

    Default constructor for XML serialization.

    Declaration
    protected AbstractCommandBarItemAttribute()

    AbstractCommandBarItemAttribute(String, String, String)

    Constructor with basic properties.

    Declaration
    protected AbstractCommandBarItemAttribute(string id, string name, string description)
    Parameters
    Type Name Description
    System.String id

    A unique id for this command bar item.

    System.String name

    A name for this command bar item. Should typically be a key of a resource string in PluginResources.resx.

    System.String description

    A description for this command bar item. Should typically be a key of a resource string in PluginResources.resx.

    Properties

    ContextByType

    Gets or sets the action context in which the action is valid. This can be a view controller type, or null if the action available globally.

    Declaration
    public Type ContextByType { get; set; }
    Property Value
    Type Description
    System.Type

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • AbstractCommandBarItemAttribute()
      • AbstractCommandBarItemAttribute(String, String, String)
    • Properties
      • ContextByType
    • Extension Methods
    Back to top Generated by DocFX