ComponentOne FlexGrid for UWP
C1.UWP Assembly / C1.Xaml Namespace / CommandExtensions Class / SetCommand Method
The element to which the attached property is written.
The needed System.Windows.Input.ICommand value.

In This Topic
    SetCommand Method
    In This Topic
    Sets the command that will be executed when the command source is invoked.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetCommand( _
       ByVal element As FrameworkElement, _
       ByVal value As Object _
    ) 
    public static void SetCommand( 
       FrameworkElement element,
       object value
    )

    Parameters

    element
    The element to which the attached property is written.
    value
    The needed System.Windows.Input.ICommand value.
    See Also