Partilhar via


SPMobileButtonNavigation.DisplayNavigation Property

Gets a value that indicates whether the navigation control should be visible.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides ReadOnly Property DisplayNavigation As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.DisplayNavigation
protected override bool DisplayNavigation { get; }

Property Value

Type: System.Boolean
true if the control is visible; otherwise, false.

Remarks

This override makes the property false on the New form if adding new items to the list is not allowed, false on the Edit form if editing the list item is not allowed, and false on the Delete form if deleting the list item is not allowed. Hence, the default implementation is designed for controls that save whatever changes were made on the current form.

See Also

Reference

SPMobileButtonNavigation Class

SPMobileButtonNavigation Members

Microsoft.SharePoint.MobileControls Namespace