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.
- C#
- VB.NET
public class SegmentEventArgs : EventArgs
Public Class SegmentEventArgs
Inherits 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
SegmentEventArgs(item, index)
Creates event data with the original segment and index.
| Name | Type | Description |
|---|---|---|
| item | Segment | The affected segment. |
| index | Int32 | The index before removal, for ChipClosed. |
Properties
Index
Int32: Gets the collection index captured for this event.
Item
Segment: Gets the affected segment.