Skip to main content
Version: 4.2

AvatarItemEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Identifies the authoritative server item activated in an AvatarGroup.

public class AvatarItemEventArgs : 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​

Instance member AvatarItemEventArgs(item, index)​

Initializes item activation data.

NameTypeDescription
itemAvatarItemActivated server item.
indexInt32Zero-based collection index.

Properties​

Instance member Index​

Int32: Gets the zero-based collection index at activation time.

Instance member Item​

AvatarItem: Gets the activated item, including its server-only Tag.