C# Class MahApps.Metro.SimpleChildWindow.ChildWindow

Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: punker76/MahApps.Metro.SimpleChildWindow Class Usage Examples

Méthodes publiques

Свойство Type Description
AllowFocusElementProperty System.Windows.DependencyProperty
AllowMoveProperty System.Windows.DependencyProperty
ChildWindowHeightProperty System.Windows.DependencyProperty
ChildWindowImageProperty System.Windows.DependencyProperty
ChildWindowWidthProperty System.Windows.DependencyProperty
CloseButtonCommandParameterProperty System.Windows.DependencyProperty
CloseButtonCommandProperty System.Windows.DependencyProperty
CloseButtonStyleProperty System.Windows.DependencyProperty
CloseByEscapeProperty System.Windows.DependencyProperty
CloseOnOverlayProperty System.Windows.DependencyProperty
ClosingFinishedEvent System.Windows.RoutedEvent
EnableDropShadowProperty System.Windows.DependencyProperty
FocusedElementProperty System.Windows.DependencyProperty
GlowBrushProperty System.Windows.DependencyProperty
IconProperty System.Windows.DependencyProperty
IconTemplateProperty System.Windows.DependencyProperty
IsModalProperty System.Windows.DependencyProperty
IsOpenChangedEvent System.Windows.RoutedEvent
IsOpenProperty System.Windows.DependencyProperty
OverlayBrushProperty System.Windows.DependencyProperty
ShowCloseButtonProperty System.Windows.DependencyProperty
ShowTitleBarProperty System.Windows.DependencyProperty
TitleBarBackgroundProperty System.Windows.DependencyProperty
TitleBarHeightProperty System.Windows.DependencyProperty
TitleFontFamilyProperty System.Windows.DependencyProperty
TitleFontSizeProperty System.Windows.DependencyProperty
TitleForegroundProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
ChildWindow System
Close void
GetCaption string
HeaderThumbDragDelta void
Hide void
HideStoryboard_Completed void
IsOpenedChanged void
IsWidthHeightValid bool
PartOverlayOnClose void
ProcessMove void
TryFocusElement void

Méthodes publiques

Méthode Description
Close ( ) : bool

Closes this instance.

OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
OnClosing ( CancelEventArgs e ) : void
OnPreviewKeyUp ( System e ) : void

Private Methods

Méthode Description
ChildWindow ( ) : System
Close ( object sender, RoutedEventArgs e ) : void
GetCaption ( int id ) : string
HeaderThumbDragDelta ( object sender, System.Windows.Controls.Primitives.DragDeltaEventArgs e ) : void
Hide ( ) : void
HideStoryboard_Completed ( object sender, EventArgs e ) : void
IsOpenedChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
IsWidthHeightValid ( object value ) : bool
PartOverlayOnClose ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
ProcessMove ( double x, double y ) : void
TryFocusElement ( ) : void

Method Details

Close() public méthode

Closes this instance.
public Close ( ) : bool
Résultat bool

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnClosing() protected méthode

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

OnPreviewKeyUp() protected méthode

protected OnPreviewKeyUp ( System e ) : void
e System
Résultat void

Property Details

AllowFocusElementProperty public_oe static_oe property

public static DependencyProperty,System.Windows AllowFocusElementProperty
Résultat System.Windows.DependencyProperty

AllowMoveProperty public_oe static_oe property

public static DependencyProperty,System.Windows AllowMoveProperty
Résultat System.Windows.DependencyProperty

ChildWindowHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildWindowHeightProperty
Résultat System.Windows.DependencyProperty

ChildWindowImageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildWindowImageProperty
Résultat System.Windows.DependencyProperty

ChildWindowWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildWindowWidthProperty
Résultat System.Windows.DependencyProperty

CloseButtonCommandParameterProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonCommandParameterProperty
Résultat System.Windows.DependencyProperty

CloseButtonCommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonCommandProperty
Résultat System.Windows.DependencyProperty

CloseButtonStyleProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonStyleProperty
Résultat System.Windows.DependencyProperty

CloseByEscapeProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseByEscapeProperty
Résultat System.Windows.DependencyProperty

CloseOnOverlayProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseOnOverlayProperty
Résultat System.Windows.DependencyProperty

ClosingFinishedEvent public_oe static_oe property

An event that is raised when the closing animation has finished.
public static RoutedEvent,System.Windows ClosingFinishedEvent
Résultat System.Windows.RoutedEvent

EnableDropShadowProperty public_oe static_oe property

public static DependencyProperty,System.Windows EnableDropShadowProperty
Résultat System.Windows.DependencyProperty

FocusedElementProperty public_oe static_oe property

public static DependencyProperty,System.Windows FocusedElementProperty
Résultat System.Windows.DependencyProperty

GlowBrushProperty public_oe static_oe property

public static DependencyProperty,System.Windows GlowBrushProperty
Résultat System.Windows.DependencyProperty

IconProperty public_oe static_oe property

public static DependencyProperty,System.Windows IconProperty
Résultat System.Windows.DependencyProperty

IconTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows IconTemplateProperty
Résultat System.Windows.DependencyProperty

IsModalProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsModalProperty
Résultat System.Windows.DependencyProperty

IsOpenChangedEvent public_oe static_oe property

An event that is raised when IsOpen changes.
public static RoutedEvent,System.Windows IsOpenChangedEvent
Résultat System.Windows.RoutedEvent

IsOpenProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsOpenProperty
Résultat System.Windows.DependencyProperty

OverlayBrushProperty public_oe static_oe property

public static DependencyProperty,System.Windows OverlayBrushProperty
Résultat System.Windows.DependencyProperty

ShowCloseButtonProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowCloseButtonProperty
Résultat System.Windows.DependencyProperty

ShowTitleBarProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowTitleBarProperty
Résultat System.Windows.DependencyProperty

TitleBarBackgroundProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleBarBackgroundProperty
Résultat System.Windows.DependencyProperty

TitleBarHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleBarHeightProperty
Résultat System.Windows.DependencyProperty

TitleFontFamilyProperty public_oe static_oe property

DependencyProperty for TitleFontFamily property.
public static DependencyProperty,System.Windows TitleFontFamilyProperty
Résultat System.Windows.DependencyProperty

TitleFontSizeProperty public_oe static_oe property

DependencyProperty for TitleFontSize property.
public static DependencyProperty,System.Windows TitleFontSizeProperty
Résultat System.Windows.DependencyProperty

TitleForegroundProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleForegroundProperty
Résultat System.Windows.DependencyProperty

TitleProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleProperty
Résultat System.Windows.DependencyProperty