次の方法で共有


Command.Format プロパティ

定義

Commandのレンダリング スタイルを取得または設定します。 この API は廃止されています。 ASP.NET モバイル アプリケーションを開発する方法については、「ASP.NETを使用 Mobile Apps & サイト」を参照してください。

public:
 property System::Web::UI::MobileControls::CommandFormat Format { System::Web::UI::MobileControls::CommandFormat get(); void set(System::Web::UI::MobileControls::CommandFormat value); };
[System.ComponentModel.Bindable(true)]
public System.Web.UI.MobileControls.CommandFormat Format { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Format : System.Web.UI.MobileControls.CommandFormat with get, set
Public Property Format As CommandFormat

プロパティ値

Commandのレンダリング スタイルを示すCommandFormat値。

属性

注釈

CommandFormat列挙型を使用して、使用可能な 2 つの型にアクセスします。

CommandFormat.Button (既定値)コマンドはボタンとしてレンダリングされます。

CommandFormat.Link コマンドはリンクとしてレンダリングされます。

Format プロパティは、HttpCapabilitiesBase.JavaScript プロパティで示されている JavaScript をサポートするデバイスでのみ、CommandFormat.Link値をサポートします。

適用対象

こちらもご覧ください