C# Class 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.
Afficher le fichier Open project: PaulStovell/trial-balance

Méthodes publiques

Méthode Description
ExtendGlassFrame ( Window window, System.Windows.Thickness margin ) : bool

Extends the Aero Glass area on a given window.

Private Methods

Méthode Description
DwmExtendFrameIntoClientArea ( IntPtr hwnd, MARGINS &margins ) : void
DwmIsCompositionEnabled ( ) : bool

Method Details

ExtendGlassFrame() public static méthode

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