skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 RadSaveFileDialog

Represents a dialog that allows user selection of filename for file to be saved.

Inheritance
System.Object
WindowBase
DialogWindowBase
RadSaveFileDialog
Inherited Members
DialogWindowBase.ResponseButtonProperty
DialogWindowBase.DialogResultProperty
DialogWindowBase.BorderBackgroundProperty
DialogWindowBase.IconProperty
DialogWindowBase.IconTemplateProperty
DialogWindowBase.DialogStartupLocationProperty
DialogWindowBase.IsDragDropEnabledProperty
DialogWindowBase.DragDropBehaviorProperty
DialogWindowBase.ExpandToCurrentDirectoryProperty
DialogWindowBase.ShowHiddenFilesProperty
DialogWindowBase.LoadDrivesInBackgroundProperty
DialogWindowBase.CanUserRenameProperty
DialogWindowBase.GetParentDialogWindow(DependencyObject)
DialogWindowBase.GetResponseButton(DependencyObject)
DialogWindowBase.SetResponseButton(DependencyObject, ResponseButton)
DialogWindowBase.OnApplyTemplate()
DialogWindowBase.ShowDialog()
DialogWindowBase.ShouldFocusOnActivate()
DialogWindowBase.OpenFileInternal(FileMode, FileAccess)
DialogWindowBase.ChangeVisualState(Boolean)
DialogWindowBase.GetDialogViewModelCustomPlaces()
DialogWindowBase.GetDialogViewModelInitialDirectory()
DialogWindowBase.GetWindowOwnerHandle()
DialogWindowBase.OnPreviewClosed(WindowPreviewClosedEventArgs)
DialogWindowBase.OnClosed(WindowClosedEventArgs)
DialogWindowBase.SaveStateOnAccept()
DialogWindowBase.OnGotFocus(RoutedEventArgs)
DialogWindowBase.OnLostFocus(RoutedEventArgs)
DialogWindowBase.OnKeyDown(KeyEventArgs)
DialogWindowBase.OnClosing()
DialogWindowBase.OnPreviewClosed()
DialogWindowBase.GetWindowOwner()
DialogWindowBase.GetWindowStartupLocation()
DialogWindowBase.OnClosed()
DialogWindowBase.FileName
DialogWindowBase.ShowNetworkLocations
DialogWindowBase.LoadDrivesInBackground
DialogWindowBase.InitialDirectory
DialogWindowBase.RestoreDirectory
DialogWindowBase.CustomPlaces
DialogWindowBase.DialogResult
DialogWindowBase.BorderBackground
DialogWindowBase.Icon
DialogWindowBase.IconTemplate
DialogWindowBase.DialogStartupLocation
DialogWindowBase.IsDragDropEnabled
DialogWindowBase.DragDropBehavior
DialogWindowBase.ExpandToCurrentDirectory
DialogWindowBase.ShowHiddenFiles
DialogWindowBase.CanUserRename
DialogWindowBase.InitialSelectedLayout
DialogWindowBase.FileSystemInfoWrapperFactory
DialogWindowBase.Closed
DialogWindowBase.PreviewClosed
DialogWindowBase.ExceptionRaised
DialogWindowBase.DirectoryRequesting
DialogWindowBase.DirectoryNavigating
DialogWindowBase.ShellContextMenuOpening
DialogWindowBase.Renaming
WindowBase.IsModalProperty
WindowBase.IsOpenProperty
WindowBase.IsResizingProperty
WindowBase.IsDraggingProperty
WindowBase.IsActiveWindowProperty
WindowBase.IsInActiveStateProperty
WindowBase.IsTopmostProperty
WindowBase.CaptionHeightProperty
WindowBase.ResizeBorderProperty
WindowBase.LeftProperty
WindowBase.TopProperty
WindowBase.WindowStateProperty
WindowBase.ResizeModeProperty
WindowBase.CanCloseProperty
WindowBase.CanMoveProperty
WindowBase.SizeToContentProperty
WindowBase.HideMinimizeButtonProperty
WindowBase.HideMaximizeButtonProperty
WindowBase.CornerRadiusProperty
WindowBase.Close()
WindowBase.GetZIndex()
WindowBase.BringToFront()
WindowBase.GetNormalSizeAndPosition()
WindowBase.IDragAware.OnDragStart(Point, Boolean)
WindowBase.IDragAware.OnDragEnd(Point, Boolean, Boolean)
WindowBase.IDragAware.OnDragDelta(Point, Rect, Rect, Boolean)
WindowBase.ShouldActivateOnShow()
WindowBase.ShouldShowInTaskSwitcher()
WindowBase.ShouldActivate()
WindowBase.ChangeVisualState()
WindowBase.ShowWindow(Boolean)
WindowBase.CheckCanClose()
WindowBase.OnLayoutChangeEnded(EventArgs)
WindowBase.OnLocationChanged(EventArgs)
WindowBase.OnLayoutChangeStarted(EventArgs)
WindowBase.OnWindowStateChanged(EventArgs)
WindowBase.OnHostCreated(HostWindowCreatedEventArgs)
WindowBase.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
WindowBase.GetApplicationSize()
WindowBase.OnLayoutChangeEnded()
WindowBase.OnLayoutChangeStarted()
WindowBase.CloseWithoutEventsAndAnimations()
WindowBase.OnCloseAnimationFinished()
WindowBase.OnShowAnimationFinished()
WindowBase.OnRightMouseButtonUp()
WindowBase.OnRootVisualSizeChanged()
WindowBase.OnDragStart(Point, Boolean)
WindowBase.OnDragEnd(Point, Boolean, Boolean)
WindowBase.OnDragDelta(Point, Rect, Rect, Boolean)
WindowBase.OnActivated(EventArgs)
WindowBase.OnDeactivated(EventArgs)
WindowBase.ShouldSystemMenuOnRightClick()
WindowBase.IsModal
WindowBase.IsOpen
WindowBase.IsTopmost
WindowBase.CaptionHeight
WindowBase.ResizeBorder
WindowBase.Left
WindowBase.Top
WindowBase.IsResizing
WindowBase.IsDragging
WindowBase.IsLayoutChanging
WindowBase.WindowState
WindowBase.ResizeMode
WindowBase.CanClose
WindowBase.CanMove
WindowBase.IsActiveWindow
WindowBase.IsInActiveState
WindowBase.CornerRadius
WindowBase.SizeToContent
WindowBase.HideMaximizeButton
WindowBase.HideMinimizeButton
WindowBase.Owner
WindowBase.Activated
WindowBase.Deactivated
WindowBase.LayoutChangeEnded
WindowBase.LayoutChangeStarted
WindowBase.LocationChanged
WindowBase.WindowStateChanged
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.FileDialogs.dll

Syntax

[TelerikToolboxCategory("File Dialogs")]
public class RadSaveFileDialog : DialogWindowBase, INotifyLayoutChange, IWindowDragAware, IDragAware, IClickAware, IFileExtensionFilterable, IThemable

Constructors

RadSaveFileDialog()

Initializes a new instance of the RadSaveFileDialog class.

Declaration
public RadSaveFileDialog()

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

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

Methods

OnCreateAutomationPeer()

Create the automation peer for this class.

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

Overrides
DialogWindowBase.OnCreateAutomationPeer()

OnInitialized(EventArgs)

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

OpenFile()

Creates a read-write file stream for the filename selected by the user using RadSaveFileDialog" />.

Declaration
public Stream OpenFile()
Returns
System.IO.Stream

A new System.IO.Stream that contains the selected file.

Exceptions
System.ArgumentNullException

Selected file is null.

System.ArgumentException

Selected file is empty string, contains only white space, contains one or more invalid characters, or refers to a non-file device.

System.NotSupportedException

Selected file refers to a non-file device.

System.FileNotFoundException

Selected file cannot be found, such as when mode is FileMode.Truncate or FileMode.Open, and the file specified by path does not exist. The file must already exist in these modes.

System.IOException

An I/O error occurred or the stream has been closed.

System.SecurityException

The caller does not have the required permission.

System.DirectoryNotFoundException

Selected file is invalid, such as being on an unmapped drive.

System.UnauthorizedAccessException

The access requested is not permitted by the operating system for the specified path, such as when access is Write or ReadWrite and the file or directory is set for read-only access.

System.PathTooLongException

The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.

System.ArgumentOutOfRangeException

The specified mode contains an invalid value.

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML 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.