ComponentOne Basic Library for WPF and Silverlight
SetCommandParameter Method


C1.Silverlight Namespace > CommandExtensions Class : SetCommandParameter Method
The element to which the attached property is written.
The command specific data.
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 System.Windows.FrameworkElement, _
   ByVal value As System.Object _
) 
'Usage
 
Dim element As System.Windows.FrameworkElement
Dim value As System.Object
 
CommandExtensions.SetCommandParameter(element, value)
public static void SetCommandParameter( 
   System.Windows.FrameworkElement element,
   System.object value
)

Parameters

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

Reference

CommandExtensions Class
CommandExtensions Members