Skip to content

Instantly share code, notes, and snippets.

View RangeObservableCollection.cs
namespace System.Collections.ObjectModel
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Diagnostics;
flq / NonTopmostPopup.cs
Created Apr 5, 2011
WPF: Popup that is only topmost with respect to parent window. Taken from the comments at (Joe Gershgorin) which was in not easy to digest state
View NonTopmostPopup.cs
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Interop;
/// <summary>
/// Popup with code to not be the topmost control