SelectionModel.IsSelected 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
IReference<bool>
- 屬性
適用於
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
傳回
IReference<bool>
- 屬性