r5sdk/r5dev/thirdparty/cppnet/cppkore/ListViewVirtualItemsSelectionRangeChangedEventArgs.h
2022-05-21 19:58:09 +02:00

21 lines
591 B
C++

#pragma once
#include <cstdint>
namespace Forms
{
// The event class that is created when the selection state of a ListViewItem is changed.
class ListViewVirtualItemsSelectionRangeChangedEventArgs
{
public:
ListViewVirtualItemsSelectionRangeChangedEventArgs(int32_t Start, int32_t End, bool Selected);
~ListViewVirtualItemsSelectionRangeChangedEventArgs() = default;
// The start of the new selection.
const int32_t StartIndex;
// The end of the new selection.
const int32_t EndIndex;
// Whether or not the range is selected or deselected.
const bool IsSelected;
};
}