A newer version of this page is available. Switch to the current version.

VisibleResourcesChangedEventArgs.NewFirstVisibleResourceIndex Property

Gets the index of the first (the leftmost or the topmost, depending on the view) resource displayed in the view after the change of visible resources occurs.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll


public int NewFirstVisibleResourceIndex { get; }

Property Value

Type Description

An integer that is the index of a resource in the SchedulerViewInfoBase.VisibleResources collection.


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 NewFirstVisibleResourceIndex 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).

See Also