MediaTransportControlsHelper Class

Definition

Provides properties and methods to customize media transport controls.

public ref class MediaTransportControlsHelper sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MediaTransportControlsHelper final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class MediaTransportControlsHelper
Public NotInheritable Class MediaTransportControlsHelper
Inheritance
Object Platform::Object IInspectable MediaTransportControlsHelper
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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.

XAML attached properties

MediaTransportControlsHelper is the host service class for a XAML attached property.

In order to support XAML processor access to the attached properties, and also to expose equivalent get and set operations to code, each XAML attached property has a pair of Get and Set accessor methods. Another way to get or set the value in code is to use the dependency property system, calling either GetValue or SetValue and passing the identifier field as the dependency property identifier.

Attached property Description
DropoutOrder Gets or sets the priority order in which a transport control drops out to the overflow menu as the window shrinks.

Properties

DropoutOrderProperty

Identifies the MediaTransportControlsHelper.DropoutOrder XAML attached property.

Attached Properties

DropoutOrder

Gets or sets the priority order in which a transport control drops out to the overflow menu as the window shrinks.

Methods

GetDropoutOrder(UIElement)

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

SetDropoutOrder(UIElement, IReference<Int32>)

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

Applies to