SPMobileButtonNavigation.CreateButtonControl Method
Sets the properties of the child CommandControl.
Namespace: Microsoft.SharePoint.MobileControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Protected Overridable Function CreateButtonControl As MobileControl
'Usage
Dim returnValue As MobileControl
returnValue = Me.CreateButtonControl()
protected virtual MobileControl CreateButtonControl()
Type: System.Web.UI.MobileControls.MobileControl
A MobileControl (specifically, a Command) that has its properties set to provide the functionality of the SPMobileButtonNavigation object.
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.
SPMobileButtonNavigation Class