SharePointFileList Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The SharePointFiles Control displays a simple list of SharePoint Files.
[Windows.UI.Xaml.TemplatePart(Name="list", Type=typeof(Windows.UI.Xaml.Controls.ListView))]
[Windows.UI.Xaml.TemplatePart(Name="back", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="cancel", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="delete", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="download", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="hasMore", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="share", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="upload", Type=typeof(Windows.UI.Xaml.Controls.Button))]
[Windows.UI.Xaml.TemplatePart(Name="error", Type=typeof(Windows.UI.Xaml.Controls.HyperlinkButton))]
[Windows.UI.Xaml.TemplateVisualState(GroupName="UploadStatus", Name="NotUploading")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="UploadStatus", Name="Uploading")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="UploadStatus", Name="Error")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Hide")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Side")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Bottom")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Full")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FolderReadOnly")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FolderEdit")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FileReadonly")]
[Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FileEdit")]
public class SharePointFileList : Windows.UI.Xaml.Controls.Control
[<Windows.UI.Xaml.TemplatePart(Name="list", Type=typeof(Windows.UI.Xaml.Controls.ListView))>]
[<Windows.UI.Xaml.TemplatePart(Name="back", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="cancel", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="delete", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="download", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="hasMore", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="share", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="upload", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
[<Windows.UI.Xaml.TemplatePart(Name="error", Type=typeof(Windows.UI.Xaml.Controls.HyperlinkButton))>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="UploadStatus", Name="NotUploading")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="UploadStatus", Name="Uploading")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="UploadStatus", Name="Error")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Hide")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Side")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Bottom")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="DetailPaneStates", Name="Full")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FolderReadOnly")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FolderEdit")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FileReadonly")>]
[<Windows.UI.Xaml.TemplateVisualState(GroupName="NavStates", Name="FileEdit")>]
type SharePointFileList = class
inherit Control
Public Class SharePointFileList
Inherits Control
- Inheritance
-
Windows.UI.Xaml.Controls.ControlSharePointFileList
- Attributes
-
Windows.UI.Xaml.TemplatePartAttribute Windows.UI.Xaml.TemplateVisualStateAttribute
Constructors
SharePointFileList() |
Initializes a new instance of the SharePointFileList class. |
Fields
AllFilesMessageProperty |
Identifies the AllFilesMessage dependency property. |
DeleteConfirmCancelMessageProperty |
Identifies the DeleteConfirmCancelMessage dependency property. |
DeleteConfirmMessageProperty |
Identifies the DeleteConfirmMessage dependency property. |
DeleteConfirmOkMessageProperty |
Identifies the DeleteConfirmOkMessage dependency property. |
DetailPaneProperty |
Identifies the DetailPane dependency property. |
DriveUrlProperty |
Identifies the DriveUrl dependency property. |
PageSizeProperty |
Identifies the PageSize dependency property. |
ShareLinkCopiedMessageProperty |
Identifies the ShareLinkCopiedMessage dependency property. |
UploadingFilesMessageTemplateProperty |
Identifies the UploadingFilesMessageTemplate dependency property. |
Properties
AllFilesMessage |
Gets or sets the label of All Files |
DeleteConfirmCancelMessage |
Gets or sets the caption of cancel button in delete confirm dialog |
DeleteConfirmMessage |
Gets or sets the message of delete confirm dialog |
DeleteConfirmOkMessage |
Gets or sets the caption of ok button in delete confirm dialog |
DetailPane |
Gets or sets how DetailPane shows |
DriveUrl |
Gets or sets drive or SharePoint document library URL to display |
PageSize |
Gets or sets page size of each request |
RequiredDelegatedPermissions |
Gets required delegated permissions for the SharePointFileList control |
ShareLinkCopiedMessage |
Gets or sets the message when share link copied |
UploadingFilesMessageTemplate |
Gets or sets the template of uploading files |
Methods
GetDriveUrlFromSharePointUrlAsync(String) |
Retrieves an appropriate Drive URL from a SharePoint document library root URL |
OnApplyTemplate() |
Called when applying the control template. |
Events
FileSelected |
File is selected |