Class FilePickerCommand
- Namespace
- Tudormobile.Wpf.Commands
- Assembly
- Tudormobile.WpfApp.dll
Provides a UI to choose a file in the file system.
public class FilePickerCommand : ProxyCommand, ICommand
- Inheritance
-
FilePickerCommand
- Implements
- Derived
- Inherited Members
Constructors
FilePickerCommand(bool, IDialogService?)
Provides a UI to choose a file in the file system.
public FilePickerCommand(bool isSaveCommand = false, IDialogService? dialogService = null)
Parameters
isSaveCommand
booldialogService
IDialogService
Methods
OnExecute(object?)
Raises the Execute event.
protected override void OnExecute(object? parameter)
Parameters
parameter
object
Remarks
If the parameter is an ICommand instance, the execute action is delegated to that instance. Derived objects may override this method to provide custom behavior.