VisibleResourcesChangedEventArgs.OldFirstVisibleResourceIndex Property
Gets the index of the first (the leftmost or the topmost, depending on the view) resource displayed in the view before the change of visible resources occurs.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer that is the index of a resource in the SchedulerViewInfoBase.VisibleResources collection. |
Remarks
The collection of visible resources is accessible using the SchedulerViewInfoBase.VisibleResources property. To hide certain resources, that is, to remove them from the collection of visible resources, handle the SchedulerStorageBase.FilterResource event.
The OldFirstVisibleResourceIndex gets the collection index of a resource which is actually displayed in the current SchedulerControl.ActiveView when grouping is applied to the view (use the SchedulerViewBase.GroupType property to apply grouping).