CommandFormat 枚举

定义

警告

此 API 现已过时。

通过 Command 属性设置 Format 控件的呈现样式。Sets the rendering style of the Command control, through the Format property. 若要了解如何开发 ASP.NET 移动应用,请参阅 ASP.NET 移动应用和网站For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public enum class CommandFormat
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see https://go.microsoft.com/fwlink/?LinkId=157231.")]
public enum CommandFormat
type CommandFormat = 
Public Enum CommandFormat
继承
CommandFormat
属性

字段

Button 0

Command 控件作为按钮呈现。Renders the Command control as a button. 此 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.

1

Command 控件作为超链接呈现。Renders the Command control as a hyperlink. 此 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.

示例

此示例演示 CommandFormat 类的用法。This example demonstrates the usage of the CommandFormat class.

适用于

另请参阅