ComponentOne Basic Library for WPF and Silverlight
GetCommandParameter Method


C1.Silverlight Namespace > CommandExtensions Class : GetCommandParameter Method
The element from which the property value is read.
Gets a user defined data value that can be passed to the command when it is executed.
Syntax
'Declaration
 
Public Shared Function GetCommandParameter( _
   ByVal element As System.Windows.FrameworkElement _
) As System.Object
'Usage
 
Dim element As System.Windows.FrameworkElement
Dim value As System.Object
 
value = CommandExtensions.GetCommandParameter(element)
public static System.object GetCommandParameter( 
   System.Windows.FrameworkElement element
)

Parameters

element
The element from which the property value is read.

Return Value

The command specific data.
See Also

Reference

CommandExtensions Class
CommandExtensions Members