Click here to Skip to main content
15,894,896 members
Articles / Programming Languages / C# 4.0

Silverlight 4 Drag and Drop File Manager

Rate me:
Please Sign up or sign in to vote.
5.00/5 (18 votes)
6 May 2010Ms-PL9 min read 131.9K   4.5K   61  
A Silverlight file manager that allows drag and drop multiple file uploads
#pragma checksum "C:\Users\Valerie\Documents\Visual Studio 2010\Projects\MVMFileManager\MVMFileManager\FileUpload\FileUploadRowControl.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E1658A1CAD2340E7C648EE7EA22DAD86"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using Cokkiy.Display;
using System;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Resources;
using System.Windows.Shapes;
using System.Windows.Threading;


namespace DC.FileUpload {
    
    
    public partial class FileUploadRowControl : System.Windows.Controls.UserControl {
        
        internal System.Windows.Controls.Border LayoutRoot;
        
        internal System.Windows.VisualStateGroup StatusGroup;
        
        internal System.Windows.VisualState Pending;
        
        internal System.Windows.VisualState Resizing;
        
        internal System.Windows.VisualState Error;
        
        internal System.Windows.VisualState Complete;
        
        internal System.Windows.VisualState Uploading;
        
        internal System.Windows.Controls.Image imagePreview;
        
        internal System.Windows.Controls.TextBlock FileSize;
        
        internal System.Windows.Controls.ProgressBar progressBar;
        
        internal System.Windows.Controls.Image errorImage;
        
        internal System.Windows.Controls.Image resizeImage;
        
        internal System.Windows.Controls.Image completeImage;
        
        internal System.Windows.Controls.Image pendingImage;
        
        internal System.Windows.Controls.Button removeButton;
        
        internal Cokkiy.Display.WaitingIcon waitingIcon;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Windows.Application.LoadComponent(this, new System.Uri("/MVMFileManager;component/FileUpload/FileUploadRowControl.xaml", System.UriKind.Relative));
            this.LayoutRoot = ((System.Windows.Controls.Border)(this.FindName("LayoutRoot")));
            this.StatusGroup = ((System.Windows.VisualStateGroup)(this.FindName("StatusGroup")));
            this.Pending = ((System.Windows.VisualState)(this.FindName("Pending")));
            this.Resizing = ((System.Windows.VisualState)(this.FindName("Resizing")));
            this.Error = ((System.Windows.VisualState)(this.FindName("Error")));
            this.Complete = ((System.Windows.VisualState)(this.FindName("Complete")));
            this.Uploading = ((System.Windows.VisualState)(this.FindName("Uploading")));
            this.imagePreview = ((System.Windows.Controls.Image)(this.FindName("imagePreview")));
            this.FileSize = ((System.Windows.Controls.TextBlock)(this.FindName("FileSize")));
            this.progressBar = ((System.Windows.Controls.ProgressBar)(this.FindName("progressBar")));
            this.errorImage = ((System.Windows.Controls.Image)(this.FindName("errorImage")));
            this.resizeImage = ((System.Windows.Controls.Image)(this.FindName("resizeImage")));
            this.completeImage = ((System.Windows.Controls.Image)(this.FindName("completeImage")));
            this.pendingImage = ((System.Windows.Controls.Image)(this.FindName("pendingImage")));
            this.removeButton = ((System.Windows.Controls.Button)(this.FindName("removeButton")));
            this.waitingIcon = ((Cokkiy.Display.WaitingIcon)(this.FindName("waitingIcon")));
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


Written By
Software Developer (Senior) http://ADefWebserver.com
United States United States
Michael Washington is a Microsoft MVP. He is a ASP.NET and
C# programmer.
He is the founder of
AiHelpWebsite.com,
LightSwitchHelpWebsite.com, and
HoloLensHelpWebsite.com.

He has a son, Zachary and resides in Los Angeles with his wife Valerie.

He is the Author of:

Comments and Discussions