C# 클래스 Illusion.WindowManager

A service that manages windows.
상속: IWindowManager
파일 보기 프로젝트 열기: kasicass/kasicass 1 사용 예제들

공개 메소드들

메소드 설명
CreatePage ( object rootModel, object context, object>.IDictionary settings ) : System.Windows.Controls.Page

Creates the page.

ShowDialog ( object rootModel, object context = null, object>.IDictionary settings = null ) : bool?

Shows a modal dialog for the specified model.

ShowPopup ( object rootModel, object context = null, object>.IDictionary settings = null ) : void

Shows a popup at the current mouse position.

ShowWindow ( object rootModel, object context = null, object>.IDictionary settings = null ) : void

Shows a window for the specified model.

보호된 메소드들

메소드 설명
CreatePopup ( object rootModel, object>.IDictionary settings ) : System.Windows.Controls.Primitives.Popup

Creates a popup for hosting a popup window.

CreateWindow ( object rootModel, bool isDialog, object context, object>.IDictionary settings ) : Window

Creates a window.

EnsurePage ( object model, object view ) : System.Windows.Controls.Page

Ensures the view is a page or provides one.

EnsureWindow ( object model, object view, bool isDialog ) : Window

Makes sure the view is a window is is wrapped by one.

InferOwnerOf ( Window window ) : Window

Infers the owner of the window.

비공개 메소드들

메소드 설명
ApplySettings ( object target, object>.IEnumerable settings ) : bool

메소드 상세

CreatePage() 공개 메소드

Creates the page.
public CreatePage ( object rootModel, object context, object>.IDictionary settings ) : System.Windows.Controls.Page
rootModel object The root model.
context object The context.
settings object>.IDictionary The optional popup settings.
리턴 System.Windows.Controls.Page

CreatePopup() 보호된 메소드

Creates a popup for hosting a popup window.
protected CreatePopup ( object rootModel, object>.IDictionary settings ) : System.Windows.Controls.Primitives.Popup
rootModel object The model.
settings object>.IDictionary The optional popup settings.
리턴 System.Windows.Controls.Primitives.Popup

CreateWindow() 보호된 메소드

Creates a window.
protected CreateWindow ( object rootModel, bool isDialog, object context, object>.IDictionary settings ) : Window
rootModel object The view model.
isDialog bool Whethor or not the window is being shown as a dialog.
context object The view context.
settings object>.IDictionary The optional popup settings.
리턴 System.Windows.Window

EnsurePage() 보호된 메소드

Ensures the view is a page or provides one.
protected EnsurePage ( object model, object view ) : System.Windows.Controls.Page
model object The model.
view object The view.
리턴 System.Windows.Controls.Page

EnsureWindow() 보호된 메소드

Makes sure the view is a window is is wrapped by one.
protected EnsureWindow ( object model, object view, bool isDialog ) : Window
model object The view model.
view object The view.
isDialog bool Whethor or not the window is being shown as a dialog.
리턴 System.Windows.Window

InferOwnerOf() 보호된 메소드

Infers the owner of the window.
protected InferOwnerOf ( Window window ) : Window
window System.Windows.Window The window to whose owner needs to be determined.
리턴 System.Windows.Window

ShowDialog() 공개 메소드

Shows a modal dialog for the specified model.
public ShowDialog ( object rootModel, object context = null, object>.IDictionary settings = null ) : bool?
rootModel object The root model.
context object The context.
settings object>.IDictionary The dialog popup settings.
리턴 bool?

ShowPopup() 공개 메소드

Shows a popup at the current mouse position.
public ShowPopup ( object rootModel, object context = null, object>.IDictionary settings = null ) : void
rootModel object The root model.
context object The view context.
settings object>.IDictionary The optional popup settings.
리턴 void

ShowWindow() 공개 메소드

Shows a window for the specified model.
public ShowWindow ( object rootModel, object context = null, object>.IDictionary settings = null ) : void
rootModel object The root model.
context object The context.
settings object>.IDictionary The optional window settings.
리턴 void