SPMobileButtonNavigation.CreateButtonControl Method

Sets the properties of the child CommandControl.

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

Syntax

'Declaration
Protected Overridable Function CreateButtonControl As MobileControl
'Usage
Dim returnValue As MobileControl

returnValue = Me.CreateButtonControl()
protected virtual MobileControl CreateButtonControl()

Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl (specifically, a Command) that has its properties set to provide the functionality of the SPMobileButtonNavigation object.

Remarks

Among other things, the default implementation of this method assigns the OnClick method of SPMobileButtonNavigation as the handler for the Click event of the child Command object.

This method is called by the default implementation of CreateChildControls.

See Also

Reference

SPMobileButtonNavigation Class

SPMobileButtonNavigation Members

Microsoft.SharePoint.MobileControls Namespace