Skip to main content
Version: 4.2

SegmentEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

Provides a segment and its collection index at the time of activation or removal.

public class SegmentEventArgs : EventArgs

Derives from or implements EventArgs.

Use Item, Index to access the event data.

Example:

choices.ItemClick += (s, e) => MessageBox.Show(e.Item.Text);

Constructors​

Instance member SegmentEventArgs(item, index)​

Creates event data with the original segment and index.

NameTypeDescription
itemSegmentThe affected segment.
indexInt32The index before removal, for ChipClosed.

Properties​

Instance member Index​

Int32: Gets the collection index captured for this event.

Instance member Item​

Segment: Gets the affected segment.