ComponentOne Basic Library for WPF and Silverlight
SetDock Method (C1DockPanel)


C1.WPF Namespace > C1DockPanel Class : SetDock Method
The element to write the attached property to.
The property value to set.
Sets the value of the Dock attached property for the specified element.
Syntax
'Declaration
 
Public Shared Sub SetDock( _
   ByVal element As System.Windows.DependencyObject, _
   ByVal value As Dock _
) 
'Usage
 
Dim element As System.Windows.DependencyObject
Dim value As Dock
 
C1DockPanel.SetDock(element, value)
public static void SetDock( 
   System.Windows.DependencyObject element,
   Dock value
)

Parameters

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

Reference

C1DockPanel Class
C1DockPanel Members