MediaTransportControlsHelper MediaTransportControlsHelper MediaTransportControlsHelper MediaTransportControlsHelper Class

Definition

Provides properties and methods to customize media transport controls.

public : sealed class MediaTransportControlsHelper
struct winrt::Windows::UI::Xaml::Controls::MediaTransportControlsHelper
public sealed class MediaTransportControlsHelper
Public NotInheritable Class MediaTransportControlsHelper
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.

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. If you re-template MediaTransportControls, you can set this attached property on individual controls to specify the order in which they drop out to the overflow menu.

Properties

DropoutOrderProperty DropoutOrderProperty DropoutOrderProperty DropoutOrderProperty

Identifies the MediaTransportControlsHelper.DropoutOrder XAML attached property.

Methods

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

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

SetDropoutOrder(UIElement, IReference<Int32>) SetDropoutOrder(UIElement, IReference<Int32>) SetDropoutOrder(UIElement, IReference<Int32>) SetDropoutOrder(UIElement, IReference<Int32>)

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