Delen via


MediaTransportControlsHelper.GetDropoutOrder(UIElement) Method

Definition

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

public:
 static IReference<int> ^ GetDropoutOrder(UIElement ^ element);
 static IReference<int> GetDropoutOrder(UIElement const& element);
public static System.Nullable<int> GetDropoutOrder(UIElement element);
function getDropoutOrder(element)
Public Shared Function GetDropoutOrder (element As UIElement) As Nullable(Of Integer)

Parameters

element
UIElement

The object from which the property value is read.

Returns

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.

Applies to

See also