C# Class MahApps.Metro.SimpleChildWindow.ChildWindow

Inheritance: System.Windows.Controls.ContentControl
Datei anzeigen Open project: punker76/MahApps.Metro.SimpleChildWindow Class Usage Examples

Public Properties

Property 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

Property 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

Public Methods

Method Description
Close ( ) : bool

Closes this instance.

OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnClosing ( CancelEventArgs e ) : void
OnPreviewKeyUp ( System e ) : void

Private Methods

Method 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 method

Closes this instance.
public Close ( ) : bool
return bool

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnPreviewKeyUp() protected method

protected OnPreviewKeyUp ( System e ) : void
e System
return void

Property Details

AllowFocusElementProperty public_oe static_oe property

public static DependencyProperty,System.Windows AllowFocusElementProperty
return System.Windows.DependencyProperty

AllowMoveProperty public_oe static_oe property

public static DependencyProperty,System.Windows AllowMoveProperty
return System.Windows.DependencyProperty

ChildWindowHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildWindowHeightProperty
return System.Windows.DependencyProperty

ChildWindowImageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildWindowImageProperty
return System.Windows.DependencyProperty

ChildWindowWidthProperty public_oe static_oe property

public static DependencyProperty,System.Windows ChildWindowWidthProperty
return System.Windows.DependencyProperty

CloseButtonCommandParameterProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonCommandParameterProperty
return System.Windows.DependencyProperty

CloseButtonCommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonCommandProperty
return System.Windows.DependencyProperty

CloseButtonStyleProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseButtonStyleProperty
return System.Windows.DependencyProperty

CloseByEscapeProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseByEscapeProperty
return System.Windows.DependencyProperty

CloseOnOverlayProperty public_oe static_oe property

public static DependencyProperty,System.Windows CloseOnOverlayProperty
return 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
return System.Windows.RoutedEvent

EnableDropShadowProperty public_oe static_oe property

public static DependencyProperty,System.Windows EnableDropShadowProperty
return System.Windows.DependencyProperty

FocusedElementProperty public_oe static_oe property

public static DependencyProperty,System.Windows FocusedElementProperty
return System.Windows.DependencyProperty

GlowBrushProperty public_oe static_oe property

public static DependencyProperty,System.Windows GlowBrushProperty
return System.Windows.DependencyProperty

IconProperty public_oe static_oe property

public static DependencyProperty,System.Windows IconProperty
return System.Windows.DependencyProperty

IconTemplateProperty public_oe static_oe property

public static DependencyProperty,System.Windows IconTemplateProperty
return System.Windows.DependencyProperty

IsModalProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsModalProperty
return System.Windows.DependencyProperty

IsOpenChangedEvent public_oe static_oe property

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

IsOpenProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsOpenProperty
return System.Windows.DependencyProperty

OverlayBrushProperty public_oe static_oe property

public static DependencyProperty,System.Windows OverlayBrushProperty
return System.Windows.DependencyProperty

ShowCloseButtonProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowCloseButtonProperty
return System.Windows.DependencyProperty

ShowTitleBarProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowTitleBarProperty
return System.Windows.DependencyProperty

TitleBarBackgroundProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleBarBackgroundProperty
return System.Windows.DependencyProperty

TitleBarHeightProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleBarHeightProperty
return System.Windows.DependencyProperty

TitleFontFamilyProperty public_oe static_oe property

DependencyProperty for TitleFontFamily property.
public static DependencyProperty,System.Windows TitleFontFamilyProperty
return System.Windows.DependencyProperty

TitleFontSizeProperty public_oe static_oe property

DependencyProperty for TitleFontSize property.
public static DependencyProperty,System.Windows TitleFontSizeProperty
return System.Windows.DependencyProperty

TitleForegroundProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleForegroundProperty
return System.Windows.DependencyProperty

TitleProperty public_oe static_oe property

public static DependencyProperty,System.Windows TitleProperty
return System.Windows.DependencyProperty