WPF and Silverlight Edition Basic Library / FilePicker / Elements
In This Topic
Elements
In This Topic

FilePicker for WPF and Silverlight provides the ability to select files. Selected files can then be uploaded with Upload for WPF and Silverlight or used by other controls. The basic C1FilePicker control appears similar to the following image:

The control consists of a box that lists a watermark or the selected file name(s) and a Browse button indicated by an ellipsis:

When a user clicks the Browse button at run time, the Open File Dialog dialog box will appear. The Open File Dialog allows users to choose one or more files on the local computer or a networked computer that will be added to the SelectedFiles collection.

You can customize the content and appearance of the Browse button by setting the BrowseContent property to an object. The object you select will appear as the browse button.

See Also