Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / CommandExtensions Class / SetCommandParameter Method
The element to which the attached property is written.
The command specific data.

In This Topic
    SetCommandParameter Method
    In This Topic
    Sets a user defined data value that can be passed to the command when it is executed.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetCommandParameter( _
       ByVal element As FrameworkElement, _
       ByVal value As Object _
    ) 
    public static void SetCommandParameter( 
       FrameworkElement element,
       object value
    )

    Parameters

    element
    The element to which the attached property is written.
    value
    The command specific data.
    See Also