C# 클래스 ModernWPF.Controls.LegacyBorderWindow

Old method of providing sizing glow border using a single window.
상속: System.Windows.Window
파일 보기 프로젝트 열기: soukoku/ModernWPF 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ActiveBorderBrushProperty System.Windows.DependencyProperty
InactiveBorderBrushProperty System.Windows.DependencyProperty
IsContentActiveProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
LegacyBorderWindow ( Window contentWindow ) : System
RepositionToContent ( IntPtr contentHwnd, bool hideOverride ) : void

보호된 메소드들

메소드 설명
OnClosed ( EventArgs e ) : void
OnRender ( System.Windows.Media.DrawingContext ctx ) : void
OnSourceInitialized ( EventArgs e ) : void

비공개 메소드들

메소드 설명
ApplyWin32Stuff ( IntPtr hwnd ) : void
BindingTo ( string sourcePath, object source, DependencyProperty bindToProperty ) : void
CreateStops ( Color c ) : GradientStopCollection
GetShadowBrushes ( Color color ) : System.Windows.Media.Brush[]
HandleDPChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
HandleMinMaxInfo ( IntPtr lParam ) : void
HandleNcHitTest ( Point screenPoint ) : NcHitTest
LegacyBorderWindow ( ) : System
NcBorderHitTest ( System.Windows.Thickness frame, Point windowPoint ) : NcHitTest
ShowReal ( ) : void
ToggleVisible ( bool visible ) : void

Toggles the visibility of the border window while taking account into Windows animation settings.

TranslateToPixels ( System.Windows.Thickness wpfThickness ) : System.Windows.Thickness

Translate wpf units to actual pixels for high-dpi scaling.

TranslateToWpf ( CommonWin32.Rectangles.RECT r ) : Rect

translate screen pixels to wpf units for high-dpi scaling.

UpdateChromeBindings ( Chrome chrome ) : void
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

메소드 상세

LegacyBorderWindow() 공개 메소드

public LegacyBorderWindow ( Window contentWindow ) : System
contentWindow System.Windows.Window
리턴 System

OnClosed() 보호된 메소드

protected OnClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnRender() 보호된 메소드

protected OnRender ( System.Windows.Media.DrawingContext ctx ) : void
ctx System.Windows.Media.DrawingContext
리턴 void

OnSourceInitialized() 보호된 메소드

protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs
리턴 void

RepositionToContent() 공개 메소드

public RepositionToContent ( IntPtr contentHwnd, bool hideOverride ) : void
contentHwnd System.IntPtr
hideOverride bool
리턴 void

프로퍼티 상세

ActiveBorderBrushProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows ActiveBorderBrushProperty
리턴 System.Windows.DependencyProperty

InactiveBorderBrushProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows InactiveBorderBrushProperty
리턴 System.Windows.DependencyProperty

IsContentActiveProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows IsContentActiveProperty
리턴 System.Windows.DependencyProperty