Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1DockPanel Class / SetDock Method
The element to write the attached property to.
The property value to set.

In This Topic
    SetDock Method (C1DockPanel)
    In This Topic
    Sets the value of the Dock attached property for the specified element.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetDock( _
       ByVal element As DependencyObject, _
       ByVal value As Dock _
    ) 
    public static void SetDock( 
       DependencyObject element,
       Dock value
    )

    Parameters

    element
    The element to write the attached property to.
    value
    The property value to set.
    See Also