Navigation :
Introduction
FAQ
Setup, deployment & projects
Getting started
Examples
Catel.Core
Catel.MVVM
Catel.Fody
Catel.ReSharper
Tips & tricks
API reference
-
Catel.Cores
--
Catel
---
Catel.Android
---
Catel.ApiCop
---
Catel.Caching
---
Catel.Collections
---
Catel.ComponentModel
---
Catel.Configuration
---
Catel.Core
---
Catel.Data
---
Catel.ExceptionHandling
---
Catel.IO
---
Catel.IoC
---
Catel.Linq
---
Catel.Logging
---
Catel.Messaging
---
Catel.Pooling
---
Catel.Reflection
---
Catel.Runtime
---
Catel.Scoping
---
Catel.Services
---- AccelerometerSensorListener
---- AccelerometerService
---- AccelerometerValue
---- AccelerometerValueChangedEventArgs
---- ApplicationClosingEventArgs
---- AutoCompletionService
---- CameraOperationCompletedEventArgs
---- CameraService
---- CameraServiceBase
---- CameraType
---- ContentReadyEventArgs
---- DispatcherService
---- ExportMode
---- FileServiceBase
---- FlashMode
---- GuidObjectIdGenerator
---- IAccelerometerService
---- IAccelerometerValue
---- IAutoCompletionService
---- ICameraService
---- IDispatcherService
---- IDispatcherServiceExtensions
---- IFileSupport
---- ILanguageService
---- ILanguageSource
---- ILocation
---- ILocationService
---- IMessageService
---- INavigationRootService
---- INavigationService
---- IObjectConverterService
---- IObjectConverterServiceExtensions
---- IObjectIdGenerator
---- IOpenFileService
---- IPleaseWaitService
---- IPleaseWaitServiceExtensions
---- IProcessService
---- IRollingInMemoryLogService
---- ISaveFileService
---- ISchedulerService
---- ISelectDirectoryService
---- ISensorService
---- IService
---- IStartUpInfoProvider
---- IStartUpInfoProviderExtensions
---- IState
---- IStateService
---- IStateServiceExtensions
---- IUIVisualizerService
---- IUIVisualizerServiceExtensions
---- IVibrateService
---- IViewExportService
---- IViewModelService
---- IViewModelWrapperService
---- IWrapControlService
---- IntegerObjectIdGenerator
---- LanguageResourceKey
---- LanguageResourceSource
---- LanguageService
---- LanguageServiceBase
---- Location
---- LocationChangedEventArgs
---- LocationListener
---- LocationService
---- LocationServiceBase
---- LongObjectIdGenerator
---- MessageButton
---- MessageImage
---- MessageResult
---- MessageService
---- NamingConvention
---- NavigationRootService
---- NavigationService
---- NavigationServiceBase
---- NumericBasedObjectIdGenerator
---- ObjectConverterService
---- ObjectIdGenerator
---- OpenFileService
---- PageNotRegisteredException
---- PleaseWaitService
---- PleaseWaitWorkDelegate
---- ProcessCompletedDelegate
---- ProcessService
---- RollingInMemoryLogService
---- SaveFileService
---- SchedulerService
---- SelectDirectoryService
---- SensorServiceBase
---- ServiceBase
---- Size
---- StartUpInfoProvider
---- StateService
---- UICompletedEventArgs
---- UIVisualizerService
---- ULongObjectIdGenerator
---- VibrateService
---- ViewExportService
---- ViewModelServiceBase
---- ViewModelWrapperService
---- ViewModelWrapperServiceBase
---- WindowNotRegisteredException
---- WrapControlService
---- WrapControlServiceControlNames
---- WrapControlServiceWrapOptions
---- WrapOptions
---
Catel.Test
---
Catel.Text
---
Catel.Threading
--- Argument
--- AsyncEventHandler
--- AsyncEventHandlerExtensions
--- ByteArrayExtensions
--- CatelEnvironment
--- CompositeFilter
--- CompositePredicate
--- CoreModule
--- DesignTimeCodeAttribute
--- DesignTimeHelper
--- DesignTimeInitializer
--- Disposable
--- DisposableToken
--- Enum
--- EnvironmentHelper
--- EventHandlerExtensions
--- ExceptionExtensions
--- ExceptionFactory
--- ExpressionHelper
--- FastDateTime
--- HashHelper
--- IBindableEnum
--- ICommandManagerExtensions
--- ICompositeFilter
--- IDisposableToken
--- IExecute
--- IExecuteWithObject
--- IFluent
--- INotifyPropertyChangedExtensions
--- IUniqueIdentifyable
--- IWeakAction
--- IWeakEventListener
--- IWeakFunc
--- IWeakReference
--- JsonExtensions
--- KnownPlatforms
--- LanguageHelper
--- MVVMModule
--- MustBeImplementedException
--- NotSupportedInPlatformException
--- ObjectHelper
--- ObjectToStringHelper
--- OpenInstanceActionHandler
--- OpenInstanceEventHandler
--- ParallelHelper
--- Platforms
--- ProcessExtensions
--- ProgressContext
--- ResourceHelper
--- SerializationJsonModule
--- StringExtensions
--- StringToObjectHelper
--- SupportedPlatforms
--- TagHelper
--- ThemeHelper
--- ThreadHelper
--- UniqueIdentifierHelper
--- UriExtensions
--- WeakAction
--- WeakActionBase
--- WeakEventListener
--- WeakFunc
--
Systems
-
Catel.MVVMs
-
Catel.Serialization.Jsons
SelectDirectoryService
Name
Value
Assembly
Catel.Core
Namespace
Catel.Services
Available on
.NET Framework 4.5, .NET Framework 4.6, Xamarin - iOS
public class SelectDirectoryService : ISelectDirectoryService, ViewModelServiceBase
Base types
ViewModelServiceBase
Implements interfaces
ISelectDirectoryService
Service to open files.
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.
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 DirectoryName of the Directory what will be used.
Returns
true
if a directory is selected; otherwisefalse
.
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
Please enable JavaScript to view the comments powered by Disqus.