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

Helper class that provides a convenient way to fire tool-state change events (via the event-bus).
ファイルを表示 Open project: philcockfield/Open.TestHarness.SL

Private Properties

Property Type Description

Public Methods

Method 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 method

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.
return void