Microsoft.Toolkit.Uwp.Helpers Namespace

Classes

ApplicationDataStorageHelper

An extension of ApplicationDataStorageHelper with additional features for interop with the LocalCacheFolder.

BackgroundTaskHelper

This class provides static helper methods for background tasks.

BaseObjectStorageHelper

Shared implementation of ObjectStorageHelper.

CameraHelper

Helper class for capturing frames from available camera sources. Make sure you have the capability webcam enabled for your app to access the device's camera.

CollectionFormingDeepLinkParser

A version of DeepLinkParser which generates a comma-separated-list as the value for any option that is repeated in the query string

ColorHelper

This class provides static helper methods for colors.

DeepLinkParser

Provides assistance with parsing Windows.ApplicationModel.Activation.ILaunchActivatedEventArgs and its .Arguments property in to a key-value set and target path

DispatcherHelper

This class provides static methods helper for executing code in UI thread of the main window.

FrameEventArgs

Provides data for the FrameArrived event.

LocalObjectStorageHelper

Store data in the Local environment (only on the current device).

PackageVersionHelper

This class provides static helper methods for Windows.ApplicationModel.PackageVersion.

PrintHelper

Helper class used to simplify document printing. It allows you to render a framework element per page.

PrintHelperOptions

Represents options used in a print task.

QueryParameterCollection

Provides an enumerable way to look at query string parameters from a Uri

RemoteDeviceHelper

Helper to List Remote Devices that are accessible

RoamingObjectStorageHelper

Store data in the Roaming environment (shared across all user devices).

ScreenUnitHelper

This class provides static helper methods for ScreenUnit.

StorageFileHelper

This class provides static helper methods for Windows.Storage.StorageFile.

StreamHelper

This class provides static helper methods for streams.

SystemInformation

This class provides info about the app and the system.

SystemSerializer

A bare-bones serializer which knows how to deal with primitive types and strings only. It will store them directly based on the Windows.Storage.ApplicationDataContainer API. It is recommended for more complex scenarios to implement your own IObjectSerializer based on System.Text.Json, Newtonsoft.Json, or DataContractJsonSerializer see https://aka.ms/wct/storagehelper-migration

WeakEventListener<TInstance,TSource,TEventArgs>

Implements a weak event listener that allows the owner to be garbage collected if its only remaining link is an event handler.

Structs

OSVersion

Defines Operating System version

Interfaces

IObjectSerializer

A basic serialization service.

IObjectStorageHelper

Service used to store data.

Enums

CameraHelperResult

Enum indicating result of CameraHelper initialization.

ScreenUnit

Enumeration listing all screen units.