C# Class Open.Core.UI.Controls.DialogPresenter

A control that presents it's contents as a modal dialog.
Requires the 'DialogPresenter' template-style.
Inheritance: System.Windows.Controls.ContentControl, IDialogPresenter
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Свойство Type Description
AnimationDurationProperty System.Windows.DependencyProperty
EasingProperty System.Windows.DependencyProperty
IsShowingProperty System.Windows.DependencyProperty
MaskBrushProperty System.Windows.DependencyProperty
MaskOpacityProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
AnimateDialog void
FocusContent void
GetDialogLeft double
GetSlidePositions void
Handle_Canvas_SizeChanged void
Handle_ContentLoaded void
OnIsShowingChanged void
UpdateContentMeasurements void
UpdateDialogPosition void
UpdateElementVisibility void

Méthodes publiques

Méthode Description
DialogPresenter ( ) : System
OnApplyTemplate ( ) : void

Private Methods

Méthode Description
AnimateDialog ( double duration ) : void
FocusContent ( ) : void
GetDialogLeft ( ) : double
GetSlidePositions ( Point &start, Point &end ) : void
Handle_Canvas_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
Handle_ContentLoaded ( object sender, RoutedEventArgs e ) : void
OnIsShowingChanged ( ) : void
UpdateContentMeasurements ( ) : void
UpdateDialogPosition ( ) : void
UpdateElementVisibility ( ) : void

Method Details

DialogPresenter() public méthode

public DialogPresenter ( ) : System
Résultat System

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

Property Details

AnimationDurationProperty public_oe static_oe property

Gets or sets the duration (in seconds) of the animated slide when the dialog is shown or hidden.
public static DependencyProperty,System.Windows AnimationDurationProperty
Résultat System.Windows.DependencyProperty

EasingProperty public_oe static_oe property

Gets or sets the easing function to animate the slide with (Null if not required).
public static DependencyProperty,System.Windows EasingProperty
Résultat System.Windows.DependencyProperty

IsShowingProperty public_oe static_oe property

Gets or sets whether the dialog is currently being shown.
public static DependencyProperty,System.Windows IsShowingProperty
Résultat System.Windows.DependencyProperty

MaskBrushProperty public_oe static_oe property

Gets or sets the brush used for the mask which covers the UI when the dialog is showing.
public static DependencyProperty,System.Windows MaskBrushProperty
Résultat System.Windows.DependencyProperty

MaskOpacityProperty public_oe static_oe property

Gets or sets the opacity of the mask which covers the UI when the dialog is showing.
public static DependencyProperty,System.Windows MaskOpacityProperty
Résultat System.Windows.DependencyProperty