共用方式為


SelectionModel.IsSelected 方法

定義

多載

IsSelected(Int32)
IsSelected(Int32, Int32)

IsSelected(Int32)

public:
 virtual IReference<bool> ^ IsSelected(int index) = IsSelected;
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("IsSelected")]
IReference<bool> IsSelected(int const& index);
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("IsSelected")]
public System.Nullable<bool> IsSelected(int index);
Public Function IsSelected (index As Integer) As Nullable(Of Boolean)

參數

index
Int32

int

傳回

屬性

適用於

IsSelected(Int32, Int32)

public:
 virtual IReference<bool> ^ IsSelected(int groupIndex, int itemIndex) = IsSelected;
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Overload("IsSelectedWithGroup")]
IReference<bool> IsSelected(int const& groupIndex, int const& itemIndex);
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Overload("IsSelectedWithGroup")]
public System.Nullable<bool> IsSelected(int groupIndex, int itemIndex);
Public Function IsSelected (groupIndex As Integer, itemIndex As Integer) As Nullable(Of Boolean)

參數

groupIndex
Int32

int

itemIndex
Int32

int

傳回

屬性

適用於