skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class FileDialogViewModel

Base ViewModel class for RadOpenFileDialog and RadSaveFileDialog components.

Inheritance
System.Object
ViewModelBase
DialogViewModel
FileDialogViewModel
OpenFileDialogViewModel
SaveFileDialogViewModel
Inherited Members
DialogViewModel.Dispose(Boolean)
DialogViewModel.OnCurrentSearchResultsChanged()
DialogViewModel.CreateNewChildFolder()
DialogViewModel.CanExecuteAccept()
DialogViewModel.CanEditExecute()
DialogViewModel.OnEditExecuted()
DialogViewModel.CanNewFolderExecute()
DialogViewModel.OnNewFolderExecuted()
DialogViewModel.CanCopyExecute()
DialogViewModel.OnCopyCommand(IntPtr)
DialogViewModel.CanCutExecute()
DialogViewModel.OnCutCommand(IntPtr)
DialogViewModel.CanPasteExecute()
DialogViewModel.OnPasteCommand(IntPtr)
DialogViewModel.CanDeleteExecute()
DialogViewModel.OnDeleteCommand(IntPtr)
DialogViewModel.CanExecuteHelper()
DialogViewModel.PrepareCommandAndExecute(IntPtr, ShellContextMenuCommand)
DialogViewModel.InvokeSelectedFileSystemObjects()
DialogViewModel.OnSelectionChanged()
DialogViewModel.ResetSelection()
DialogViewModel.OnPropertyChanging(String)
DialogViewModel.ShouldCancelDiretoryNavigating(String)
DialogViewModel.InvokeContext
DialogViewModel.MainNavigationRoot
DialogViewModel.MainNavigationRootSource
DialogViewModel.EditingOptions
DialogViewModel.Path
DialogViewModel.Name
DialogViewModel.ShowHiddenFiles
DialogViewModel.InitialDirectory
DialogViewModel.CurrentParentDirectory
DialogViewModel.SelectedFileSystemObject
DialogViewModel.CurrentFileSystemObjects
DialogViewModel.RootAndCurrentFileSystemObjects
DialogViewModel.IsDirectorySelected
DialogViewModel.CustomPlaces
DialogViewModel.SelectedLayout
DialogViewModel.Layouts
DialogViewModel.IsMainPaneLoadingNetwork
DialogViewModel.SelectedFilesInvoker
DialogViewModel.FileSystemInfoWrapperFactory
DialogViewModel.CurrentSearchResults
DialogViewModel.IsSearchViewActive
DialogViewModel.DirectoryNavigating
DialogViewModel.PropertyChanging
ViewModelBase.Dispose()
ViewModelBase.InvokeOnUIThread(Action)
ViewModelBase.OnPropertyChanged(String)
ViewModelBase.VerifyPropertyName(String)
ViewModelBase.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.FileDialogs
Assembly: Telerik.WinControls.UI.dll

Syntax

public class FileDialogViewModel : DialogViewModel, INotifyPropertyChanged, IDisposable, IDialogViewModel, ICurrentDirectoryViewModel, INotifyPropertyChanging, IFileFilterableModel, IFileExtensionFilterable

Constructors

FileDialogViewModel(FileSystemInfoWrapperFactoryBase, Boolean, String)

Initializes a new instance of the FileDialogViewModel class.

Declaration
public FileDialogViewModel(FileSystemInfoWrapperFactoryBase fileSystemInfoWrapperFactory, bool showNetwork, string rootDirPath = "")
Parameters
FileSystemInfoWrapperFactoryBase fileSystemInfoWrapperFactory

System.Boolean showNetwork

System.String rootDirPath

Properties

DefaultExt

Gets or sets a value that specifies the default extension string to use to filter the list of files that are displayed.

Declaration
public string DefaultExt { get; set; }
Property Value
System.String

Implements
IFileExtensionFilterable.DefaultExt

Filter

Gets or sets the filter string that describes the list of extensions to filter by.

Declaration
public string Filter { get; set; }
Property Value
System.String

Implements
IFileExtensionFilterable.Filter

FilterDescriptors

Gets or sets the list of FileFilterDescriptors described by the Filter property.

Declaration
public IList<FileFilterDescriptor> FilterDescriptors { get; }
Property Value
System.Collections.Generic.IList<FileFilterDescriptor>

Implements
IFileFilterableModel.FilterDescriptors

FilterIndex

Gets or sets the currently selected extension filter from the extensions described in the Filter property. The index value of the first filter entry is 1.

Declaration
public int FilterIndex { get; set; }
Property Value
System.Int32

Implements
IFileExtensionFilterable.FilterIndex

IsFilterApplied

Gets or sets a value indicating whether the current filtering is active or not.

Declaration
public bool IsFilterApplied { get; set; }
Property Value
System.Boolean

Implements
IFileFilterableModel.IsFilterApplied

IsSearchActive

SearchPane's IsSearchViewActive is OneWayToSource bound to IsSearchActive. This is the reason for the public modifier here.

Declaration
public bool IsSearchActive { get; set; }
Property Value
System.Boolean

SelectedFilterName

Gets the FilterName of the currently applied filter.

Declaration
public string SelectedFilterName { get; }
Property Value
System.String

Methods

GetCurrentFileSystemInfoWrappers(DirectoryBaseWrapper)

Gets the current visible FileSystemInfoWrappers.

Declaration
protected override IEnumerable<FileSystemInfoWrapper> GetCurrentFileSystemInfoWrappers(DirectoryBaseWrapper parent)
Parameters
DirectoryBaseWrapper parent

Returns
System.Collections.Generic.IEnumerable<FileSystemInfoWrapper>

Overrides
DialogViewModel.GetCurrentFileSystemInfoWrappers(DirectoryBaseWrapper)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.