C# Класс Open.Core.UI.Controls.DialogPresenter

A control that presents it's contents as a modal dialog.
Requires the 'DialogPresenter' template-style.
Наследование: System.Windows.Controls.ContentControl, IDialogPresenter
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AnimationDurationProperty System.Windows.DependencyProperty
EasingProperty System.Windows.DependencyProperty
IsShowingProperty System.Windows.DependencyProperty
MaskBrushProperty System.Windows.DependencyProperty
MaskOpacityProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
AnimateDialog void
FocusContent void
GetDialogLeft double
GetSlidePositions void
Handle_Canvas_SizeChanged void
Handle_ContentLoaded void
OnIsShowingChanged void
UpdateContentMeasurements void
UpdateDialogPosition void
UpdateElementVisibility void

Открытые методы

Метод Описание
DialogPresenter ( ) : System
OnApplyTemplate ( ) : void

Приватные методы

Метод Описание
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

Описание методов

DialogPresenter() публичный Метод

public DialogPresenter ( ) : System
Результат System

OnApplyTemplate() публичный Метод

public OnApplyTemplate ( ) : void
Результат void

Описание свойств

AnimationDurationProperty публичное статическое свойство

Gets or sets the duration (in seconds) of the animated slide when the dialog is shown or hidden.
public static DependencyProperty,System.Windows AnimationDurationProperty
Результат System.Windows.DependencyProperty

EasingProperty публичное статическое свойство

Gets or sets the easing function to animate the slide with (Null if not required).
public static DependencyProperty,System.Windows EasingProperty
Результат System.Windows.DependencyProperty

IsShowingProperty публичное статическое свойство

Gets or sets whether the dialog is currently being shown.
public static DependencyProperty,System.Windows IsShowingProperty
Результат System.Windows.DependencyProperty

MaskBrushProperty публичное статическое свойство

Gets or sets the brush used for the mask which covers the UI when the dialog is showing.
public static DependencyProperty,System.Windows MaskBrushProperty
Результат System.Windows.DependencyProperty

MaskOpacityProperty публичное статическое свойство

Gets or sets the opacity of the mask which covers the UI when the dialog is showing.
public static DependencyProperty,System.Windows MaskOpacityProperty
Результат System.Windows.DependencyProperty