Search Results for

    Show / Hide Table of Contents

    Interface IViewContext

    The contract defining context view informations.

    Namespace: Sdl.Desktop.IntegrationApi
    Assembly: Sdl.Desktop.IntegrationApi.dll
    Syntax
    public interface IViewContext

    Properties

    Available

    Returns whether this view is currently available.

    Declaration
    bool Available { get; }
    Property Value
    Type Description
    bool

    Description

    Returns the description of this view.

    Declaration
    string Description { get; }
    Property Value
    Type Description
    string

    Enabled

    Returns whether this view is currently enabled.

    Declaration
    bool Enabled { get; }
    Property Value
    Type Description
    bool

    Icon

    Returns an icon representing this view. Can be null.

    Declaration
    Icon Icon { get; }
    Property Value
    Type Description
    Icon

    Id

    Returns the unique id of the view.

    Declaration
    string Id { get; }
    Property Value
    Type Description
    string

    Name

    Returns the friendly name of this view.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    string

    Shortcut

    Returns a shortcut which can be used to activate this view.

    Declaration
    Keys Shortcut { get; }
    Property Value
    Type Description
    Keys

    Events

    AvailableChanged

    Raised when the value of the Available property changes.

    Declaration
    event EventHandler AvailableChanged
    Event Type
    Type Description
    EventHandler

    EnabledChanged

    Raised when the value of the Enabled property changes.

    Declaration
    event EventHandler EnabledChanged
    Event Type
    Type Description
    EventHandler

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Properties
      • Available
      • Description
      • Enabled
      • Icon
      • Id
      • Name
      • Shortcut
    • Events
      • AvailableChanged
      • EnabledChanged
    • Extension Methods
    Back to top Generated by DocFX