Xceed Toolkit Plus for WPF v4.6 Documentation
RelayCommand Constructor(Action<Object>,Func<Boolean>)


Xceed.Wpf.Themes.FluentDesign Assembly > Xceed.Wpf.Themes.FluentDesign.Common Namespace > RelayCommand Class > RelayCommand Constructor : RelayCommand Constructor(Action<Object>,Func<Boolean>)
Syntax
'Declaration
 
Public Function New( _
   ByVal execute As Action(Of Object), _
   ByVal canExecute As Func(Of Boolean) _
)
'Usage
 
Dim execute As Action(Of Object)
Dim canExecute As Func(Of Boolean)
 
Dim instance As New RelayCommand(execute, canExecute)
public RelayCommand( 
   Action<object> execute,
   Func<bool> canExecute
)

Parameters

execute
canExecute
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RelayCommand Class
RelayCommand Members
Overload List