Cette documentation est archivée et n’est pas conservée.

SPMobileButtonNavigation.ButtonFormat, propriété (Microsoft.SharePoint.MobileControls)

Windows SharePoint Services 3
Gets or sets a value that determines whether the control is a link or a button.

Espace de noms : Microsoft.SharePoint.MobileControls
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public virtual CommandFormat ButtonFormat { get; set; }

Valeur de la propriété

A CommandFormat value that indicates whether the control is a button or a link.

The default implementation has Button as the default value.

Even if the control is a link, however, it does not directly navigate to a new page. Regardless of whether it is a button or link, the control causes a postback, which opens the page at RedirectUrl after the control's function is completed.

Contrast SPMobileButtonNavigation with SPMobileLinkNavigation, which directly navigates to a new page without causing a postback.