C# Class Open.Core.UI.Controls.Dialogs.DialogContent

Content view-model for a dialog box.
Inheritance: AcceptCancelPresenterViewModel, IDialogContent
ファイルを表示 Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Methods

Method Description
DialogContent ( ) : System

Constructor.

Hide ( ) : void

Causes the dialog box to be hidden.

Show ( ) : void

Causes the dialog box to be shown.

Show ( Action onHidden ) : void

Causes the dialog box to be shown.

Show ( double delay, Action onHidden ) : void

Causes the dialog box to be shown.

UpdateVisualState ( ) : void

Updates the visual state of the control.

Protected Methods

Method Description
OnDisposed ( ) : void

Private Methods

Method Description
InvokeHiddenCallback ( ) : void
OnHidden ( ) : void
OnIsShowingChanged ( ) : void
OnShown ( ) : void
SyncSizeOnParent ( ) : void
SyncTemplateOnParent ( ) : void

Method Details

DialogContent() public method

Constructor.
public DialogContent ( ) : System
return System

Hide() public method

Causes the dialog box to be hidden.
public Hide ( ) : void
return void

OnDisposed() protected method

protected OnDisposed ( ) : void
return void

Show() public method

Causes the dialog box to be shown.
public Show ( ) : void
return void

Show() public method

Causes the dialog box to be shown.
public Show ( Action onHidden ) : void
onHidden Action Action that is invoked when the dialog is hidden.
return void

Show() public method

Causes the dialog box to be shown.
public Show ( double delay, Action onHidden ) : void
delay double /// Shows the dialog after the specified delay (secs). /// This allows screen updates to occur prior to the dialog showing. /// Typically set very short, at either 0.1 secs or 0 secs. ///
onHidden Action Action that is invoked when the dialog is hidden.
return void

UpdateVisualState() public method

Updates the visual state of the control.
public UpdateVisualState ( ) : void
return void