C# Class ModernWPF.Messages.ChooseFolderMessage

Message for choosing a folder.
Inheritance: MessageBase
Afficher le fichier Open project: soukoku/ModernWPF Class Usage Examples

Méthodes publiques

Méthode Description
ChooseFolderMessage ( Action callback ) : System

Initializes a new instance of the ChooseFolderMessage class.

ChooseFolderMessage ( object sender, Action callback ) : System

Initializes a new instance of the ChooseFolderMessage class.

ChooseFolderMessage ( object sender, object target, Action callback ) : System

Initializes a new instance of the ChooseFolderMessage class.

DoCallback ( string folder ) : void

Does the callback to notify sender of selected folder.

HandleWithPlatform ( Window owner ) : void

Handles the ChooseFolderMessage on a window by showing a folder dialog based on the message options.

Method Details

ChooseFolderMessage() public méthode

Initializes a new instance of the ChooseFolderMessage class.
public ChooseFolderMessage ( Action callback ) : System
callback Action The callback when a folder is chosen.
Résultat System

ChooseFolderMessage() public méthode

Initializes a new instance of the ChooseFolderMessage class.
public ChooseFolderMessage ( object sender, Action callback ) : System
sender object The message's original sender.
callback Action The callback when a folder is chosen.
Résultat System

ChooseFolderMessage() public méthode

Initializes a new instance of the ChooseFolderMessage class.
public ChooseFolderMessage ( object sender, object target, Action callback ) : System
sender object The message's original sender.
target object The message's intended target.
callback Action The callback when a folder is chosen.
Résultat System

DoCallback() public méthode

Does the callback to notify sender of selected folder.
public DoCallback ( string folder ) : void
folder string The folder.
Résultat void

HandleWithPlatform() public méthode

Handles the ChooseFolderMessage on a window by showing a folder dialog based on the message options.
public HandleWithPlatform ( Window owner ) : void
owner System.Windows.Window The owner.
Résultat void