C# 클래스 Open.Core.UI.Controls.ToolBase

The base class for tools.
상속: Open.Core.Common.ModelBase, ITool
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
CreateView ( ) : FrameworkElement

Creates a new instance of the tool's view.

보호된 메소드들

메소드 설명
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.

메소드 상세

CreateView() 공개 메소드

Creates a new instance of the tool's view.
public CreateView ( ) : FrameworkElement
리턴 System.Windows.FrameworkElement

OnIsEnabledChanged() 보호된 메소드

Invoked when the IsEnabled property changes.
protected OnIsEnabledChanged ( ) : void
리턴 void

OnIsVisibleChanged() 보호된 메소드

Invoked when the IsVisible property changes.
protected OnIsVisibleChanged ( ) : void
리턴 void

PublishToolEvent() 보호된 메소드

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. ///
리턴 void

ToolBase() 보호된 메소드

Constructor.
protected ToolBase ( ) : System.Windows
리턴 System.Windows