2022-05-21 19:58:09 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include "StringBase.h"
|
|
|
|
#include "ListViewItem.h"
|
|
|
|
|
|
|
|
namespace Forms
|
|
|
|
{
|
|
|
|
// Provides data for the RetrieveVirtualItem event.
|
|
|
|
class RetrieveVirtualItemEventArgs
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RetrieveVirtualItemEventArgs(int32_t Index, int32_t SubIndex);
|
|
|
|
~RetrieveVirtualItemEventArgs() = default;
|
|
|
|
|
|
|
|
// The index of the item to get information on.
|
|
|
|
const int32_t ItemIndex;
|
|
|
|
// The sub item index.
|
|
|
|
const int32_t SubItemIndex;
|
|
|
|
// The text of the item.
|
2022-05-21 21:51:35 +02:00
|
|
|
String Text;
|
2022-05-21 19:58:09 +02:00
|
|
|
// The style of the item.
|
|
|
|
ListViewItemStyle Style;
|
|
|
|
};
|
|
|
|
}
|