Delen via


Pivot.IsLocked Property

Definition

Gets or sets whether the Pivot is locked to show only the current PivotItem. While the Pivot is locked, all other PivotItems are removed, and the user cannot navigate to them. An example of locking is when the email list is put into a multi-select mode.

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

void IsLocked(bool value);
public bool IsLocked { get; set; }
var boolean = pivot.isLocked;
pivot.isLocked = boolean;
Public Property IsLocked As Boolean
<Pivot IsLocked="bool" />

Property Value

Boolean

bool

true if the Pivot is locked; false if it is unlocked. The default is false.

Applies to