Daniel's XL Toolbox NG
Bovender.Mvvm.Actions.ChooseFolderAction Class Reference

MVVM action that queries the user for a folder. More...

Inheritance diagram for Bovender.Mvvm.Actions.ChooseFolderAction:
Collaboration diagram for Bovender.Mvvm.Actions.ChooseFolderAction:

Protected Member Functions

override string GetDialogResult (string defaultString, string filter)
 Displays an dialog to choose file or folder names. More...
 
override string GetDialogResult (string defaultString, string filter)
 Displays an dialog to choose file or folder names. More...
 
- Protected Member Functions inherited from Bovender.Mvvm.Actions.FileFolderActionBase
override void Invoke (object parameter)
 
override System.Windows.Window CreateView ()
 Returns a view that can bind to expected message contents. More...
 
override void Invoke (object parameter)
 
override System.Windows.Window CreateView ()
 Returns a view that can bind to expected message contents. More...
 
- Protected Member Functions inherited from Bovender.Mvvm.Actions.MessageActionBase
override void Invoke (object parameter)
 Creates a view that has its dependent view model injected into it. More...
 
void Invoke< T > (T messageContent, Action respond)
 
virtual void ShowView (Window view)
 Shows the view as a modal dialog. Override this to do something else with the view. More...
 
override void Invoke (object parameter)
 Creates a view that has its dependent view model injected into it. More...
 
void Invoke< T > (T messageContent, Action respond)
 
virtual void ShowView (Window view)
 Shows the view as a modal dialog. Override this to do something else with the view. More...
 

Additional Inherited Members

- Properties inherited from Bovender.Mvvm.Actions.FileFolderActionBase
string Description [get, set]
 
StringMessageContent MessageContent [get]
 
- Properties inherited from Bovender.Mvvm.Actions.MessageActionBase
string Caption [get, set]
 
string Message [get, set]
 
MessageContent Content [get, protected set]
 

Detailed Description

MVVM action that queries the user for a folder.

To be used with MVVM messages that carry a StringMessageContent.

Member Function Documentation

◆ GetDialogResult() [1/2]

override string Bovender.Mvvm.Actions.ChooseFolderAction.GetDialogResult ( string  defaultString,
string  filter 
)
inlineprotectedvirtual

Displays an dialog to choose file or folder names.

Parameters
defaultStringIndicates the default path and/or file name and/or extension.
Returns
Valid file name/path, or empty string if the dialog was cancelled.

Implements Bovender.Mvvm.Actions.FileFolderActionBase.

◆ GetDialogResult() [2/2]

override string Bovender.Mvvm.Actions.ChooseFolderAction.GetDialogResult ( string  defaultString,
string  filter 
)
inlineprotectedvirtual

Displays an dialog to choose file or folder names.

Parameters
defaultStringIndicates the default path and/or file name and/or extension.
Returns
Valid file name/path, or empty string if the dialog was cancelled.

Implements Bovender.Mvvm.Actions.FileFolderActionBase.


The documentation for this class was generated from the following file: