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 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 RadCloudUpload

A UI control for uploading files into the cloud.

Inheritance
System.Object
RadCloudUpload
Namespace: Telerik.Windows.Cloud.Controls
Assembly: Telerik.Windows.Cloud.Controls.dll

Syntax

[TelerikToolboxCategory("Cloud Upload")]
public class RadCloudUpload : Control, IThemable

Constructors

RadCloudUpload()

Initializes a new instance of the RadCloudUpload class.

Declaration
public RadCloudUpload()

Fields

ButtonsProperty

Identifies the Buttons dependency property.

Declaration
public static readonly DependencyProperty ButtonsProperty
Field Value
System.Windows.DependencyProperty

InvalidItemsProperty

Identifies the InvalidItems dependency property.

Declaration
public static readonly DependencyProperty InvalidItemsProperty
Field Value
System.Windows.DependencyProperty

ItemsProperty

Identifies the Items dependency property.

Declaration
public static readonly DependencyProperty ItemsProperty
Field Value
System.Windows.DependencyProperty

ItemsSummaryProperty

Identifies the ItemsSummary dependency property.

Declaration
public static readonly DependencyProperty ItemsSummaryProperty
Field Value
System.Windows.DependencyProperty

MaximumSimultaneousUploadsCountProperty

Identifies the MaximumSimultaneousUploadsCount dependency property.

Declaration
public static readonly DependencyProperty MaximumSimultaneousUploadsCountProperty
Field Value
System.Windows.DependencyProperty

ProgressProperty

Identifies the Progress dependency property.

Declaration
public static readonly DependencyProperty ProgressProperty
Field Value
System.Windows.DependencyProperty

ProviderProperty

Identifies the Provider dependency property.

Declaration
public static readonly DependencyProperty ProviderProperty
Field Value
System.Windows.DependencyProperty

TotalSizeProperty

Identifies the TotalSize dependency property.

Declaration
public static readonly DependencyProperty TotalSizeProperty
Field Value
System.Windows.DependencyProperty

ValidItemsProperty

Identifies the ValidItems dependency property.

Declaration
public static readonly DependencyProperty ValidItemsProperty
Field Value
System.Windows.DependencyProperty

Properties

AutoStart

Gets or sets a value indicating whether the newly added files should be started automatically.

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

Buttons

The buttons that should be displayed.

Declaration
public CloudUploadCommandButtons Buttons { get; set; }
Property Value
CloudUploadCommandButtons

CanAddFilesWhileUploading

Gets or sets a value indicating whether the AddFilesCommand is enabled while upload is in progress.

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

CreateOpenFileDialog

Gets or sets a delegate that allows you to set up the Microsoft.Win32.OpenFileDialog.

Declaration
public Func<OpenFileDialog> CreateOpenFileDialog { get; set; }
Property Value
System.Func<Microsoft.Win32.OpenFileDialog>

InvalidItems

The invalid items. These will not be uploaded.

Declaration
public IEnumerable<CloudUploadFile> InvalidItems { get; }
Property Value
System.Collections.Generic.IEnumerable<CloudUploadFile>

Items

All items, valid and invalid.

Declaration
public IEnumerable<CloudUploadFile> Items { get; }
Property Value
System.Collections.Generic.IEnumerable<CloudUploadFile>

ItemsSummary

An object that contains information about the items.

Declaration
public CloudUploadItemsSummary ItemsSummary { get; }
Property Value
CloudUploadItemsSummary

MaximumSimultaneousUploadsCount

The maximum number of running uploads.

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

Progress

The upload progress.

Declaration
public double Progress { get; }
Property Value
System.Double

Provider

The cloud storage provider.

Declaration
public ICloudUploadProvider Provider { get; set; }
Property Value
ICloudUploadProvider

TotalSize

The total size of the current upload session.

Declaration
public long TotalSize { get; }
Property Value
System.Int64

ValidationRules

The validation rules.

Declaration
public List<ValidationRule> ValidationRules { get; }
Property Value
System.Collections.Generic.List<System.Windows.Controls.ValidationRule>

ValidItems

The valid items. These will be uploaded.

Declaration
public IEnumerable<CloudUploadFile> ValidItems { get; }
Property Value
System.Collections.Generic.IEnumerable<CloudUploadFile>

Methods

AddFile(String, Stream, Boolean)

Creates a new CloudUploadFile instance and adds it for uploading.

Declaration
public CloudUploadFile AddFile(string fileName, Stream fileStream, bool autoCloseStream)
Parameters
System.String fileName

The file name of the file to be added.

System.IO.Stream fileStream

The file stream of the file to be added.

System.Boolean autoCloseStream

Indicating whether the stream should be auto closed.

Returns
CloudUploadFile

The newly created CloudUploadFile instance.

OnCreateAutomationPeer()

Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

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

The type-specific System.Windows.Automation.Peers.AutomationPeer implementation.

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

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

The System.Windows.RoutedEventArgs that contains the event data.

RequestCancel()

Requests a cancellation for all uploading items.

Declaration
public void RequestCancel()

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

Events

AddingFiles

Occurs when the file dialog is being opened.

Declaration
public event EventHandler<AddingFilesEventArgs> AddingFiles
Event Type
System.EventHandler<AddingFilesEventArgs>

ItemStateChanged

Occurs when the state of an item changes.

Declaration
public event EventHandler<CloudUploadFileStateChangedEventArgs> ItemStateChanged
Event Type
System.EventHandler<CloudUploadFileStateChangedEventArgs>

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.