MobilePage.OnDeviceCustomize(EventArgs) MobilePage.OnDeviceCustomize(EventArgs) MobilePage.OnDeviceCustomize(EventArgs) MobilePage.OnDeviceCustomize(EventArgs) Method

定义

对页进行初始化之后调用。Called after the page is initialized. 此 API 已过时。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void OnDeviceCustomize(EventArgs ^ e);
protected virtual void OnDeviceCustomize (EventArgs e);
abstract member OnDeviceCustomize : EventArgs -> unit
override this.OnDeviceCustomize : EventArgs -> unit
Protected Overridable Sub OnDeviceCustomize (e As EventArgs)

参数

e
EventArgs EventArgs EventArgs EventArgs

一个包含事件数据的 EventArgs 对象定义的对象。An object defined by an EventArgs object that contains event data.

注解

您可以重写此方法以设置特定于设备的属性。You can override this method to set device-specific properties. 如果重写此方法在继承类中的,您必须调用基实现。If you override this method in an inheriting class, you must call the base implementation.

适用于

另请参阅