| Visual Basic (Declaration) | |
|---|---|
Public Event LeftChange() As LeftChangeEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event LeftChangeEventHandler LeftChange() | |
The event handler receives an argument of type LeftChangeEventArgs containing data related to this event. The following LeftChangeEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| ColumnViewportIndex | Gets the index of the viewport column in which the change occurred. |
| NewLeft | Gets the index of the new left column. |
| OldLeft | Gets the index of the previous left column. |
This example raises the LeftChange event when the leftmost column changes.
| C# | Copy Code |
|---|---|
fpSpread1.AddViewport(0, 0); | |
| Visual Basic | Copy Code |
|---|---|
FpSpread1.AddViewport(0, 0) | |
This event is raised by the OnLeftChange method when a different column becomes the new leftmost column.
For more details on the individual event arguments, refer to LeftChangeEventArgs members.
Reference
FpSpread ClassFpSpread Members
LeftChangeEventArgs Class