Dela via


MediaTransportControlsHelper.SetDropoutOrder Method

Definition

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

public:
 static void SetDropoutOrder(UIElement ^ element, IReference<int> ^ value);
 static void SetDropoutOrder(UIElement const& element, IReference<int> const& value);
public static void SetDropoutOrder(UIElement element, System.Nullable<int> value);
function setDropoutOrder(element, value)
Public Shared Sub SetDropoutOrder (element As UIElement, value As Nullable(Of Integer))

Parameters

element
UIElement

The object to which the property value is written.

value

IReference<Int32>

Nullable<Int32>

IReference<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.

Applies to

See also