DeviceSpecific.SelectedChoice プロパティ

定義

現在選択されている選択肢を取得します。該当しない場合は null します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

public:
 property System::Web::UI::MobileControls::DeviceSpecificChoice ^ SelectedChoice { System::Web::UI::MobileControls::DeviceSpecificChoice ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Web.UI.MobileControls.DeviceSpecificChoice SelectedChoice { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectedChoice : System.Web.UI.MobileControls.DeviceSpecificChoice
Public ReadOnly Property SelectedChoice As DeviceSpecificChoice

プロパティ値

現在選択されている選択肢。

属性

注釈

DeviceSpecific/Choice コンストラクトを使用して、プロパティのオーバーライドやテンプレートなどのデバイス固有のコンテンツをコントロールまたはスタイルに指定できます。 <DeviceSpecific> 要素の選択肢から選択肢を選択するには、ASP.NET はターゲット デバイスの機能に対して順番に各選択肢を評価します。 最初に一致する選択肢が選択され、デバイス固有のコンテンツに使用されます。

適用対象