ItemsView.IsSelected(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a value that indicates whether or not the item at the specified index is selected.
public:
virtual bool IsSelected(int itemIndex) = IsSelected;
bool IsSelected(int const& itemIndex);
public bool IsSelected(int itemIndex);
function isSelected(itemIndex)
Public Function IsSelected (itemIndex As Integer) As Boolean
Parameters
- itemIndex
-
Int32
int
The index of the item to check for selection.
Returns
Boolean
bool
true
if the item at the specified index is selected; otherwise, false
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for