using System; using System.Windows; namespace Muchinfo.WPF.Controls.Windows { /// /// Class WindowBorder. /// public class WindowBorder { /// /// The element which is acting as the border. /// public FrameworkElement Element { get; private set; } /// /// The position of the border. /// public BorderPosition Position { get; private set; } /// /// Creates a new window border using the specified element and position. /// /// /// public WindowBorder(BorderPosition position, FrameworkElement element) { if (element == null) { throw new ArgumentNullException("element"); } Position = position; Element = element; } } }