AvatarItemEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
Identifies the authoritative server item activated in an AvatarGroup.
- C#
- VB.NET
public class AvatarItemEventArgs : EventArgs
Public Class AvatarItemEventArgs
Inherits EventArgs
Derives from or implements EventArgs.
Use Item, Index to access the event data.
Example:
group.ItemClick += (s, e) => MessageBox.Show($"{e.Index}: {e.Item.Text}");
Constructors
AvatarItemEventArgs(item, index)
Initializes item activation data.
| Name | Type | Description |
|---|---|---|
| item | AvatarItem | Activated server item. |
| index | Int32 | Zero-based collection index. |
Properties
Index
Int32: Gets the zero-based collection index at activation time.
Item
AvatarItem: Gets the activated item, including its server-only Tag.