ObjectListShowCommandsEventArgs.Commands プロパティ

定義

ObjectListCommandCollection オブジェクト内のコマンドのコレクションを取得または設定します。 最初は、コレクションは空です。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

public:
 property System::Web::UI::MobileControls::ObjectListCommandCollection ^ Commands { System::Web::UI::MobileControls::ObjectListCommandCollection ^ get(); };
public System.Web.UI.MobileControls.ObjectListCommandCollection Commands { get; }
member this.Commands : System.Web.UI.MobileControls.ObjectListCommandCollection
Public ReadOnly Property Commands As ObjectListCommandCollection

プロパティ値

ObjectListCommandCollection内のコマンドのコレクション。

注釈

ObjectListCommandCollection クラスのAddAddAtRemove、およびRemoveAtメソッドを使用して、コレクション内のコマンドを追加または削除できます。 このプロパティを使用すると、ShowItemCommands イベント中に、ObjectList オブジェクト内の 1 つの項目のコマンドにアクセスして変更できます。 加えられた変更は、 ObjectList オブジェクトに指定されたコマンドの基本コレクションには影響しません。

適用対象

こちらもご覧ください