C# Class Open.Core.UI.Controls.ToolState

Helper class that provides a convenient way to fire tool-state change events (via the event-bus).
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Change ( object toolId, bool isEnabled = null, bool isAsynchronous = false ) : void

Causes the specified tool to change state by firing an IToolStateEvent via the event-bus.

Method Details

Change() public static méthode

Causes the specified tool to change state by firing an IToolStateEvent via the event-bus.
public static Change ( object toolId, bool isEnabled = null, bool isAsynchronous = false ) : void
toolId object The unique identifier of the tool to change state on.
isEnabled bool The enabled state (null if current state remains unchanged).
isAsynchronous bool Flag indicating if the update should happen asynchronously.
Résultat void