ComponentFactory.Quicksilver.Layout.DockLayout.SetDock C# (CSharp) Method

SetDock() public static method

Sets the value of the Dock attached property to a specified element.
public static SetDock ( UIElement element, Dock dock ) : void
element UIElement The element to which the attached property is written.
dock Dock The new Dock value.
return void
        public static void SetDock(UIElement element, Dock dock)
        {
            if (element == null)
                throw new ArgumentNullException("element");

            element.SetValue(DockProperty, dock);
        }