'Declaration
Public Shared Sub SetComponentBag( _ ByVal element As FrameworkElement, _ ByVal componentBag As ComponentBag _ )
'Usage
Dim element As FrameworkElement Dim componentBag As ComponentBag Live.SetComponentBag(element, componentBag)
public static void SetComponentBag( FrameworkElement element, ComponentBag componentBag )
public: static void SetComponentBag( FrameworkElement^ element, ComponentBag^ componentBag )
Parameters
- element
- The element to which the attached property is written.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - componentBag
- The needed ComponentBag value.
The value of this parameter can be
null
(Nothing
in Visual Basic).