Επεξεργασία

Κοινή χρήση μέσω


SelectionList.Selection Property

Definition

Returns the selected item, or null if there is no selection. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Property Value

The currently selected item in the selection list.

Attributes

Remarks

If the control is in multiple selection mode, this property returns the first selected item.

Applies to

See also