C# 클래스 PaulStovell.TrialBalance.UserInterface.GlassHelper

A helper class that extends the "Aero Glass" effect onto the client area of a window.
Thanks to Adam Nathan for this code sample: http://blogs.msdn.com/adam_nathan/archive/2006/05/04/589686.aspx.
파일 보기 프로젝트 열기: PaulStovell/trial-balance

공개 메소드들

메소드 설명
ExtendGlassFrame ( Window window, System.Windows.Thickness margin ) : bool

Extends the Aero Glass area on a given window.

비공개 메소드들

메소드 설명
DwmExtendFrameIntoClientArea ( IntPtr hwnd, MARGINS &margins ) : void
DwmIsCompositionEnabled ( ) : bool

메소드 상세

ExtendGlassFrame() 공개 정적인 메소드

Extends the Aero Glass area on a given window.
public static ExtendGlassFrame ( Window window, System.Windows.Thickness margin ) : bool
window System.Windows.Window The window to extend glass onto.
margin System.Windows.Thickness The distances from the border to extend the glass by.
리턴 bool