In This Topic
            
            Sets the command that will be executed when the command source is invoked.
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Shared Sub SetCommand( _
   ByVal  As Windows.UI.Xaml.FrameworkElement, _
   ByVal  As System.Object _
) 
             
        
            
            public static void SetCommand( 
   Windows.UI.Xaml.FrameworkElement ,
   System.object 
)
             
        
             
        
            Parameters
- element
 
- The element to which the attached property is written.
 - value
 
- The needed System.Windows.Input.ICommand value.
 
            
             
            
            
            
            
            
            
            
            
            
            
            
            See Also