Udostępnij za pośrednictwem


UIStatus Enum

Definition

Indicates the status of the file picker UI.

public enum class UIStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UIStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UIStatus
var value = Windows.Storage.Provider.UIStatus.unavailable
Public Enum UIStatus
Inheritance
UIStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unavailable 0

The file picker is not showing UI and UI can't be requested.

If the app that provides updates requests UI by completing its response to a FileUpdateRequested event and setting the FileUpdateRequest.Status to FileUpdateStatus.UserInputNeeded, the app will be closed immediately and the failure may be reported to the app that triggered the updates.

Hidden 1

The file picker is not showing UI, but UI can be requested.

If the app that provides updates requests UI by completing its response to a FileUpdateRequested event and setting the FileUpdateRequest.Status to FileUpdateStatus.UserInputNeeded, a UIRequested event will fire to indicate that UI will display immediately, and a new FileUpdateRequested event will fire (for the same file) so that the app can get the user's input and complete the request successfully.

Visible 2

The file picker is currently showing UI because UI was requested by the app.

Complete 3

The file picker is currently showing UI and all

This indicates that UI is presently being shown, and that the app has finished responding to all FileUpdateRequested events.

Applies to