public PopupCommand( Action<PopupContent> execute, Func<PopupContent,bool> canExecute, string tooltip, ImageSource image )
Public Function New( _ ByVal execute As Action(Of PopupContent), _ ByVal canExecute As Func(Of PopupContent,Boolean), _ ByVal tooltip As String, _ ByVal image As ImageSource _ )
Parameters
- execute
- The delegate called when the button is clicked.
- canExecute
- The delegate called periodically to test if the command should be enabled.
- tooltip
- The tooltip for the button.
- image
- The image for the button.