Dela via


MediaTransportControls.IsCompact Property

Definition

Gets or sets a value that indicates whether transport controls are shown on one row instead of two.

public:
 property bool IsCompact { bool get(); void set(bool value); };
bool IsCompact();

void IsCompact(bool value);
public bool IsCompact { get; set; }
var boolean = mediaTransportControls.isCompact;
mediaTransportControls.isCompact = boolean;
Public Property IsCompact As Boolean
<MediaTransportControls IsCompact="bool" .../>
    

Property Value

Boolean

bool

true if the transport controls are shown in one row; false if the transport controls are shown in two rows. The default is false.

Applies to