MediaTransportControlsHelper MediaTransportControlsHelper MediaTransportControlsHelper MediaTransportControlsHelper Class

Definition

Provides properties and methods to customize media transport controls.

public : sealed class MediaTransportControlsHelper : IMediaTransportControlsHelperpublic sealed class MediaTransportControlsHelper : IMediaTransportControlsHelperPublic NotInheritable Class MediaTransportControlsHelper Implements IMediaTransportControlsHelper// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

You do not instantiate this class directly. To use this class, set the MediaTransportControlsHelper.DropoutOrder attached property on a control in the template of a MediaTransportControls object.

Properties

DropoutOrderProperty DropoutOrderProperty DropoutOrderProperty DropoutOrderProperty

Identifies the MediaTransportControlsHelper.DropoutOrder XAML attached property.

public : static DependencyProperty DropoutOrderProperty { get; }public static DependencyProperty DropoutOrderProperty { get; }Public Static ReadOnly Property DropoutOrderProperty As DependencyProperty// This API is not available in Javascript.

Remarks

This property is only an identifier for the property system, and isn't used in most app scenarios. In most cases you set the MediaTransportControlsHelper.DropoutOrder XAML attached property in XAML and won't need this identifier.

See Also

Methods

GetDropoutOrder(UIElement) GetDropoutOrder(UIElement) GetDropoutOrder(UIElement) GetDropoutOrder(UIElement)

Gets the value of the MediaTransportControlsHelper.DropoutOrder XAML attached property for the target element.

public : static IReference<int> GetDropoutOrder(UIElement element)public static Nullable<int> GetDropoutOrder(UIElement element)Public Static Function GetDropoutOrder(element As UIElement) As Nullable( Of int )// This API is not available in Javascript.
Parameters
element
UIElement UIElement UIElement UIElement

The object from which the property value is read.

Returns
IReference<int> Nullable<int> Nullable<int> Nullable<int>

The value to set. (The dropout priority of the control relative to other transport controls.)

Remarks

This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the MediaTransportControlsHelper.DropoutOrder XAML attached property in XAML and won't need this method. For more info, see the MediaTransportControlsHelper.DropoutOrder attached property.

See Also

SetDropoutOrder(UIElement, IReference) SetDropoutOrder(UIElement, IReference) SetDropoutOrder(UIElement, IReference) SetDropoutOrder(UIElement, IReference)

Sets the value of the MediaTransportControlsHelper.DropoutOrder XAML attached property for a target element.

public : static void SetDropoutOrder(UIElement element, IReference<int> value)public static void SetDropoutOrder(UIElement element, Nullable<Int32> value)Public Static Function SetDropoutOrder(element As UIElement, value As Nullable<Int32>) As void// This API is not available in Javascript.
Parameters
element
UIElement UIElement UIElement UIElement

The object to which the property value is written.

value
IReference<int> Nullable<Int32> Nullable<Int32> Nullable<Int32>

The value to set. (The dropout priority of the control relative to other transport controls.)

Remarks

This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the MediaTransportControlsHelper.DropoutOrder XAML attached property in XAML and won't need this method. For more info, see the MediaTransportControlsHelper.DropoutOrder attached property.

See Also