ShareProvider ShareProvider ShareProvider ShareProvider ShareProvider Class

Definition

This class represents a custom provider which can be shared.

public : sealed class ShareProvider
struct winrt::Windows::ApplicationModel::DataTransfer::ShareProvider
public sealed class ShareProvider
Public NotInheritable Class ShareProvider
var shareProvider = new shareProvider(title, displayIcon, backgroundColor, handler);
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Constructors

ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler) ShareProvider(String, RandomAccessStreamReference, Color, ShareProviderHandler)

Creates a new ShareProvider object.

Properties

BackgroundColor BackgroundColor BackgroundColor BackgroundColor BackgroundColor

Gets the background color of the share provider.

DisplayIcon DisplayIcon DisplayIcon DisplayIcon DisplayIcon

Gets the display icon of the share provider.

Tag Tag Tag Tag Tag

Gets or sets the tag of the share provider.

Title Title Title Title Title

Gets the title of the share provider.