SPMobileButtonNavigation.CreateButtonControl Method

Sets the properties of the child CommandControl.

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


Protected Overridable Function CreateButtonControl As MobileControl

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.


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


SPMobileButtonNavigation Class

SPMobileButtonNavigation Members

Microsoft.SharePoint.MobileControls Namespace