C# 클래스 Te.StahpIt.Views.BaseView

Base class that all views in this application should extend from. This is so that each of those views has the basic mechanism for data or user driven events to raise requests to modify the current view to respond to or notify the user.
상속: System.Windows.Controls.UserControl, IViewController
파일 보기 프로젝트 열기: TechnikEmpire/StahpIt-WPF

보호된 프로퍼티들

프로퍼티 타입 설명
m_logger Logger

공개 메소드들

메소드 설명
BaseView ( ) : MahApps.Metro.Controls

Default ctor.

보호된 메소드들

메소드 설명
RequestViewChange ( System.Windows.Controls.View view, object data = null ) : void

Requests a change of view.

ShowUserMessage ( string title, string message, string acceptButtonText = "Ok" ) : void

Displays a message to the user as an overlay, that the user can only accept.

메소드 상세

BaseView() 공개 메소드

Default ctor.
public BaseView ( ) : MahApps.Metro.Controls
리턴 MahApps.Metro.Controls

RequestViewChange() 보호된 메소드

Requests a change of view.
protected RequestViewChange ( System.Windows.Controls.View view, object data = null ) : void
view System.Windows.Controls.View /// The requested view. ///
data object /// Optional data for the requested view. ///
리턴 void

ShowUserMessage() 보호된 메소드

Displays a message to the user as an overlay, that the user can only accept.
protected ShowUserMessage ( string title, string message, string acceptButtonText = "Ok" ) : void
title string /// The large title for the message overlay. ///
message string /// The message content. ///
acceptButtonText string /// The text to display in the acceptance button. ///
리턴 void

프로퍼티 상세

m_logger 보호되어 있는 프로퍼티

Logger for views.
protected Logger m_logger
리턴 Logger