SPMobileButtonNavigation.CreateButtonControl 方法

设置子CommandControl的属性。

命名空间:  Microsoft.SharePoint.Mobile.WebControls
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Protected Overridable Function CreateButtonControl As Control
用法
Dim returnValue As Control

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

返回值

类型:System.Web.UI.Control
MobileControl (即Command),将其属性设置为提供了SPMobileButtonNavigation对象的功能。

备注

此外,此方法的默认实现为子Command对象的Click事件的处理程序分配SPMobileButtonNavigationOnClick方法。

通过CreateChildControls的默认实现调用此方法。

另请参阅

引用

SPMobileButtonNavigation 类

SPMobileButtonNavigation 成员

Microsoft.SharePoint.Mobile.WebControls 命名空间