Méthode | Description | |
---|---|---|
GetSignificantView ( |
Used to retrieve the root, non-framework-created view. In certain instances the WindowManager creates UI elements in order to display windows. For example, if you ask the window manager to show a UserControl as a dialog, it creates a window to host the UserControl in. The WindowManager marks that element as a framework-created element so that it can determine what it created vs. what was intended by the developer. Calling GetSignificantView allows the framework to discover what the original element was. |
|
Show ( object rootModel, object context = null ) : void |
Shows a window for the specified model.
|
|
ShowDialog ( object rootModel, object context = null ) : bool? |
Shows a modal dialog for the specified model.
|
|
ShowDialog ( object rootModel, object context = null ) : void |
Shows a modal dialog for the specified model.
|
Méthode | Description | |
---|---|---|
CreateWindow ( object rootModel, bool isDialog, object context ) : |
||
EnsureWindow ( object model, object view ) : System.Windows.Controls.ChildWindow | ||
EnsureWindow ( object model, object view, bool isDialog ) : |
||
OnShutdownAttempted ( IGuardClose guard, System.Windows.Controls.ChildWindow view, |
||
OnShutdownAttempted ( IGuardClose guard, |
public static GetSignificantView ( |
||
view | The view to search. | |
Résultat |
public Show ( object rootModel, object context = null ) : void | ||
rootModel | object | The root model. |
context | object | The context. |
Résultat | void |
public ShowDialog ( object rootModel, object context = null ) : bool? | ||
rootModel | object | The root model. |
context | object | The context. |
Résultat | bool? |
public ShowDialog ( object rootModel, object context = null ) : void | ||
rootModel | object | The root model. |
context | object | The context. |
Résultat | void |