C# 클래스 SevenSoftware.Windows.AeroGlass

Contains methods to allow use of Aero Glass.
파일 보기 프로젝트 열기: robertbaker/SevenUpdate

공개 메소드들

메소드 설명
EnableBlur ( IntPtr windowHandle, IntPtr region ) : void

Enables Blur on Aero Glass.

EnableBlur ( Window window, IntPtr region ) : void

Enables Blur on Aero Glass for a WPF window.

EnableGlass ( Window window, Margins margins ) : void

Enables Aero Glass on a WPF window, no exception thrown if OS does not support DWM.

ExcludeElementFromAeroGlass ( FrameworkElement element, Window window ) : void

Excludes a UI element from the Aero Glass frame.

cMany non-WPF rendered controls (i.e., the ExplorerBrowser control) will not render properly on top of an Aero Glass frame.

ResetAeroGlass ( Margins margins, IntPtr windowHandle ) : void

Resets the Aero Glass exclusion area.

ResetAeroGlass ( Margins margins, Window window ) : void

Resets the Aero Glass exclusion area.

비공개 메소드들

메소드 설명
WndProc ( IntPtr handle, int msg, IntPtr parameter, IntPtr parameter2, bool &handled ) : IntPtr

An application-defined function that processes messages sent to a window.

메소드 상세

EnableBlur() 공개 정적인 메소드

Enables Blur on Aero Glass.
public static EnableBlur ( IntPtr windowHandle, IntPtr region ) : void
windowHandle System.IntPtr The windows handle to add the blur to.
region System.IntPtr The area to add the blur to.
리턴 void

EnableBlur() 공개 정적인 메소드

Enables Blur on Aero Glass for a WPF window.
public static EnableBlur ( Window window, IntPtr region ) : void
window System.Windows.Window The window object to add blur to.
region System.IntPtr The area to add the blur to.
리턴 void

EnableGlass() 공개 정적인 메소드

Enables Aero Glass on a WPF window, no exception thrown if OS does not support DWM.
public static EnableGlass ( Window window, Margins margins ) : void
window System.Windows.Window The window to enable glass.
margins Margins The region to add glass.
리턴 void

ExcludeElementFromAeroGlass() 공개 정적인 메소드

Excludes a UI element from the Aero Glass frame.
cMany non-WPF rendered controls (i.e., the ExplorerBrowser control) will not render properly on top of an Aero Glass frame.
public static ExcludeElementFromAeroGlass ( FrameworkElement element, Window window ) : void
element System.Windows.FrameworkElement The element to exclude.
window System.Windows.Window The window the element resides in.
리턴 void

ResetAeroGlass() 공개 정적인 메소드

Resets the Aero Glass exclusion area.
public static ResetAeroGlass ( Margins margins, IntPtr windowHandle ) : void
margins Margins The margins.
windowHandle System.IntPtr The window handle.
리턴 void

ResetAeroGlass() 공개 정적인 메소드

Resets the Aero Glass exclusion area.
public static ResetAeroGlass ( Margins margins, Window window ) : void
margins Margins The margins.
window System.Windows.Window The window.
리턴 void