ISelectDirectoryService

Name Value
Assembly Catel.Core
Namespace Catel.Services
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public interface ISelectDirectoryService

Interface for the Select Directory service.

Properties

DirectoryName

Gets the directory name.

FileName

Gets or sets the name of the file.

Filter

Gets or sets the filter to use when opening or saving the file.

InitialDirectory

Gets or sets the initial directory.

ShowNewFolderButton

Gets or sets a value indicating whether to show the new folder button to be able to create new folders while browsing.

Title

Gets or sets the title which will be used for display.

Methods

DetermineDirectoryAsync()

Determines the name of the directory what will be used.

Returns

true if a directory is selected; otherwisefalse.

Remarks

If this method returnstrue, the DirectoryName property will be filled with the directory name. Otherwise, no changes will occur to the data of this object.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion