GanttFocusedTaskChangedEventArgs.FocusedTaskKey Property
Gets the key of the focused task.
Namespace: DevExpress.Web.ASPxGantt
Assembly: DevExpress.Web.ASPxGantt.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
Object | The task key. |
Remarks
<dx:ASPxGantt ID="Gantt" onFocusedTaskChanged="Gantt_FocusedTaskChanged">
</dx:ASPxGantt>
protected void Gantt_FocusedTaskChanged(object sender, DevExpress.Web.ASPxGantt.GanttFocusedTaskChangedEventArgs e)
{
if (String)e.FocusedTaskKey == "1"){
// your code
}
}
See Also