Table of Contents

Interface IOperatingMode

Namespace
Loehnert.Lisrt.OperatingMode
Assembly
Loehnert.Lisrt.dll

Interface for an operating mode.

public interface IOperatingMode : IHasKey
Inherited Members

Properties

Actions

Gets the actions for handling the operating mode.

ICollection<IActionViewModel> Actions { get; }

Property Value

ICollection<IActionViewModel>

Description

Gets the localizable description for the operating mode.

ITranslation Description { get; }

Property Value

ITranslation

Icon

Gets the icon.

Uri Icon { get; }

Property Value

Uri

IsSelectable

Gets a value indicating whether the mode is selectable.

bool IsSelectable { get; }

Property Value

bool

IsSpecial

Gets a value indicating whether the mode is a special one.

bool IsSpecial { get; }

Property Value

bool

Remarks

If it is special, it will be just shown in the concealable fly out.

Methods

CanEnable()

Gets a value indicating whether the mode can be enabled.

bool CanEnable()

Returns

bool

True if it can be enabled. Otherwise false.

Disable()

Disables the mode.

void Disable()

Enable()

Enables the mode.

void Enable()