C# Class ModernWPF.Controls.BorderWindow

Provides a single side of the resize/glow border window.
Inheritance: System.Windows.Window
Datei anzeigen Open project: soukoku/ModernWPF Class Usage Examples

Public Properties

Property Type Description
BorderLengthProperty System.Windows.DependencyProperty
GlowOpacityProperty System.Windows.DependencyProperty
IsContentActiveProperty System.Windows.DependencyProperty
PadSizeProperty System.Windows.DependencyProperty
SideProperty System.Windows.DependencyProperty

Public Methods

Method Description
BorderWindow ( BorderManager manager ) : System

Protected Methods

Method Description
OnClosed ( EventArgs e ) : void
OnSourceInitialized ( EventArgs e ) : void

Private Methods

Method Description
ActiveChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ApplyWin32Stuff ( IntPtr hwnd ) : void
BorderWindow ( ) : System
CreateBinding ( string sourcePath, object source, DependencyProperty bindToProperty, IValueConverter converter = null, object converterParameter = null ) : Binding
ShowNoActivate ( ) : void
UpdateBorderBrush ( ) : void

Updates the border brush based on content window's active state.

UpdateChromeBindings ( Chrome chrome ) : void
UpdatePosnWin32 ( double left, double top, double width, double height ) : void
UpdatePosnWpf ( double left, double top, double width, double height ) : void
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Method Details

BorderWindow() public method

public BorderWindow ( BorderManager manager ) : System
manager ModernWPF.Internal.BorderManager
return System

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
return void

OnSourceInitialized() protected method

protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs
return void

Property Details

BorderLengthProperty public_oe static_oe property

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

GlowOpacityProperty public_oe static_oe property

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

IsContentActiveProperty public_oe static_oe property

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

PadSizeProperty public_oe static_oe property

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

SideProperty public_oe static_oe property

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