static bool Unassign(Window window) { GlowInfo info = GetGlowInfo(window); if (info == null) { return(false); } else { foreach (GlowWindow glow in info.glows) { try { glow.Close(); } catch { // Do nothing } } SetGlowInfo(window, null); } return(true); }
internal static void SetGlowInfo(Window window, GlowInfo info) { window.SetValue(GlowInfoProperty, info); }
internal static void SetGlowInfo( Window window, GlowInfo info ) { window.SetValue( GlowInfoProperty, info ); }