Daniel's XL Toolbox NG
Bovender.Mvvm.Actions.FileFolderActionBase Class Referenceabstract

Abstract base class for the ChooseFileSaveAction and ChooseFolderAction classes. More...

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

Protected Member Functions

abstract string GetDialogResult (string defaultString, string filter)
 Displays an dialog to choose file or folder names. More...
 
override void Invoke (object parameter)
 
override System.Windows.Window CreateView ()
 Returns a view that can bind to expected message contents. More...
 
abstract string GetDialogResult (string defaultString, string filter)
 Displays an dialog to choose file or folder names. 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...
 

Properties

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

Abstract base class for the ChooseFileSaveAction and ChooseFolderAction classes.

Member Function Documentation

◆ CreateView() [1/2]

override System.Windows.Window Bovender.Mvvm.Actions.FileFolderActionBase.CreateView ( )
inlineprotectedvirtual

Returns a view that can bind to expected message contents.

Returns
Descendant of Window.

Implements Bovender.Mvvm.Actions.MessageActionBase.

◆ CreateView() [2/2]

override System.Windows.Window Bovender.Mvvm.Actions.FileFolderActionBase.CreateView ( )
inlineprotectedvirtual

Returns a view that can bind to expected message contents.

Returns
Descendant of Window.

Implements Bovender.Mvvm.Actions.MessageActionBase.

◆ GetDialogResult() [1/2]

abstract string Bovender.Mvvm.Actions.FileFolderActionBase.GetDialogResult ( string  defaultString,
string  filter 
)
protectedpure virtual

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.

Implemented in Bovender.Mvvm.Actions.FileDialogActionBase, Bovender.Mvvm.Actions.FileDialogActionBase, Bovender.Mvvm.Actions.ChooseFolderAction, and Bovender.Mvvm.Actions.ChooseFolderAction.

◆ GetDialogResult() [2/2]

abstract string Bovender.Mvvm.Actions.FileFolderActionBase.GetDialogResult ( string  defaultString,
string  filter 
)
protectedpure virtual

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.

Implemented in Bovender.Mvvm.Actions.FileDialogActionBase, Bovender.Mvvm.Actions.FileDialogActionBase, Bovender.Mvvm.Actions.ChooseFolderAction, and Bovender.Mvvm.Actions.ChooseFolderAction.

◆ Invoke() [1/2]

override void Bovender.Mvvm.Actions.FileFolderActionBase.Invoke ( object  parameter)
inlineprotected

◆ Invoke() [2/2]

override void Bovender.Mvvm.Actions.FileFolderActionBase.Invoke ( object  parameter)
inlineprotected

Property Documentation

◆ Description

string Bovender.Mvvm.Actions.FileFolderActionBase.Description
getset

◆ MessageContent

StringMessageContent Bovender.Mvvm.Actions.FileFolderActionBase.MessageContent
getprotected

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