C# Класс Microsoft.WindowsAPICodePack.Shell.GlassWindow

WPF Glass Window Inherit from this window class to enable glass on a WPF window
Наследование: System.Windows.Window
Показать файл Открыть проект

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

Метод Описание
ExcludeElementFromAeroGlass ( FrameworkElement element ) : void

Excludes a UI element from the AeroGlass frame.

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

ResetAeroGlass ( ) : void

Resets the AeroGlass exclusion area.

SetAeroGlassTransparency ( ) : void

Makes the background of current window transparent from both Wpf and Windows Perspective

Защищенные методы

Метод Описание
OnSourceInitialized ( EventArgs e ) : void

OnSourceInitialized Override SourceInitialized to initialize windowHandle for this window. A valid windowHandle is available only after the sourceInitialized is completed

Приватные методы

Метод Описание
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Описание методов

ExcludeElementFromAeroGlass() публичный Метод

Excludes a UI element from the AeroGlass frame.
Many non-WPF rendered controls (i.e., the ExplorerBrowser control) will not render properly on top of an AeroGlass frame.
public ExcludeElementFromAeroGlass ( FrameworkElement element ) : void
element System.Windows.FrameworkElement The element to exclude.
Результат void

OnSourceInitialized() защищенный Метод

OnSourceInitialized Override SourceInitialized to initialize windowHandle for this window. A valid windowHandle is available only after the sourceInitialized is completed
protected OnSourceInitialized ( EventArgs e ) : void
e System.EventArgs EventArgs
Результат void

ResetAeroGlass() публичный Метод

Resets the AeroGlass exclusion area.
public ResetAeroGlass ( ) : void
Результат void

SetAeroGlassTransparency() публичный Метод

Makes the background of current window transparent from both Wpf and Windows Perspective
public SetAeroGlassTransparency ( ) : void
Результат void