StorageProviderQuotaUI Class

Definition

The container for the quota UI section of the storage provider flyout. This specifies the total amount of storage in the cloud files account and how much is used.

public ref class StorageProviderQuotaUI sealed
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Storage.Provider.CloudFilesContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StorageProviderQuotaUI final
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Storage.Provider.CloudFilesContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Storage.Provider.CloudFilesContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StorageProviderQuotaUI
function StorageProviderQuotaUI()
Public NotInheritable Class StorageProviderQuotaUI
Inheritance
Object Platform::Object IInspectable StorageProviderQuotaUI
Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Storage.Provider.CloudFilesContract (introduced in v7.0)

Remarks

This section will be collapsed unless the StorageProviderQuotaUIQuotaUsedLabel is non-empty. This ensures enough context is given to the quota bar, whose percentage is defined by the fraction StorageProviderQuotaUIQuotaUsedInBytes over StorageProviderQuotaUIQuotaTotalInBytes.

Constructors

StorageProviderQuotaUI()

StorageProviderQuotaUI default constructor.

Properties

QuotaTotalInBytes

The total amount of storage available in the current cloud files account.

QuotaUsedColor

The color of the quota bar in the storage provider flyout.

QuotaUsedInBytes

The amount of storage used in the current cloud files account.

QuotaUsedLabel

This string is intended to provide explicit context on the quota bar value, such as 5.0 GB of 10.0 GB.

Applies to

See also