ShareProvider ShareProvider ShareProvider ShareProvider Class

Definition

This class represents a custom provider which can be shared.

public : sealed class ShareProvider : IShareProviderpublic sealed class ShareProvider : IShareProviderPublic NotInheritable Class ShareProvider Implements IShareProvider// You can use this class in JavaScript.
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)

Creates a new ShareProvider object.

public : ShareProvider(PlatForm::String title, RandomAccessStreamReference displayIcon, Color backgroundColor, ShareProviderHandler handler)public ShareProvider(String title, RandomAccessStreamReference displayIcon, Color backgroundColor, ShareProviderHandler handler)Public Sub New(title As String, displayIcon As RandomAccessStreamReference, backgroundColor As Color, handler As ShareProviderHandler)// You can use this method in JavaScript.
Parameters
title
PlatForm::String String String String

The title of the share provider.

backgroundColor
Color Color Color Color

The background color of the share provider.

Properties

BackgroundColor BackgroundColor BackgroundColor BackgroundColor

Gets the background color of the share provider.

public : Color BackgroundColor { get; }public Color BackgroundColor { get; }Public ReadOnly Property BackgroundColor As Color// You can use this property in JavaScript.
Value
Color Color Color Color

The background color of the share provider.

DisplayIcon DisplayIcon DisplayIcon DisplayIcon

Gets the display icon of the share provider.

public : RandomAccessStreamReference DisplayIcon { get; }public RandomAccessStreamReference DisplayIcon { get; }Public ReadOnly Property DisplayIcon As RandomAccessStreamReference// You can use this property in JavaScript.

Tag Tag Tag Tag

Gets or sets the tag of the share provider.

public : PlatForm::Object Tag { get; set; }public object Tag { get; set; }Public ReadWrite Property Tag As object// You can use this property in JavaScript.
Value
PlatForm::Object object object object

The tag of the share provider.

Title Title Title Title

Gets the title of the share provider.

public : PlatForm::String Title { get; }public string Title { get; }Public ReadOnly Property Title As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The title of the share provider.