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
Description
Gets the localizable description for the operating mode.
ITranslation Description { get; }
Property Value
- ITranslation
Icon
Gets the icon.
Uri Icon { get; }
Property Value
IsSelectable
Gets a value indicating whether the mode is selectable.
bool IsSelectable { get; }
Property Value
IsSpecial
Gets a value indicating whether the mode is a special one.
bool IsSpecial { get; }
Property Value
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()