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

The base class for tools.
Inheritance: Open.Core.Common.ModelBase, ITool
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Méthode Description
CreateView ( ) : FrameworkElement

Creates a new instance of the tool's view.

Méthodes protégées

Méthode Description
OnIsEnabledChanged ( ) : void

Invoked when the IsEnabled property changes.

OnIsVisibleChanged ( ) : void

Invoked when the IsVisible property changes.

PublishToolEvent ( bool force = false ) : void

Fires the executed event through the EventBus.

ToolBase ( ) : System.Windows

Constructor.

Method Details

CreateView() public méthode

Creates a new instance of the tool's view.
public CreateView ( ) : FrameworkElement
Résultat System.Windows.FrameworkElement

OnIsEnabledChanged() protected méthode

Invoked when the IsEnabled property changes.
protected OnIsEnabledChanged ( ) : void
Résultat void

OnIsVisibleChanged() protected méthode

Invoked when the IsVisible property changes.
protected OnIsVisibleChanged ( ) : void
Résultat void

PublishToolEvent() protected méthode

Fires the executed event through the EventBus.
protected PublishToolEvent ( bool force = false ) : void
force bool /// The event is not fired if the tool is not enabled. /// Setting force to true will cause the event to fire even if the button is disabled. ///
Résultat void

ToolBase() protected méthode

Constructor.
protected ToolBase ( ) : System.Windows
Résultat System.Windows