C# Класс SevenSoftware.Windows.AeroGlass

Contains methods to allow use of Aero Glass.
Показать файл Открыть проект

Открытые методы

Метод Описание
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