C# Class Microsoft.WindowsAPICodePack.Shell.GlassWindow

WPF Glass Window Inherit from this window class to enable glass on a WPF window
Inheritance: System.Windows.Window
Afficher le fichier Open project: godly-devotion/Baka-MPlayer-old

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnSourceInitialized ( EventArgs e ) : void

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

Private Methods

Méthode Description
WndProc ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool &handled ) : IntPtr

Method Details

ExcludeElementFromAeroGlass() public méthode

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.
Résultat void

OnSourceInitialized() protected méthode

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
Résultat void

ResetAeroGlass() public méthode

Resets the AeroGlass exclusion area.
public ResetAeroGlass ( ) : void
Résultat void

SetAeroGlassTransparency() public méthode

Makes the background of current window transparent from both Wpf and Windows Perspective
public SetAeroGlassTransparency ( ) : void
Résultat void