# DockItemActivatedEventArgs class

Provides data for the event raised when the active docking item changes.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Docking`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class DockItemActivatedEventArgs : EventArgs
```

## Public Members

| name | description |
| --- | --- |
| [NewItem](DockItemActivatedEventArgs/NewItem.md) { get; } | Gets the newly active docking item, or null if there is no active item. |
| [OldItem](DockItemActivatedEventArgs/OldItem.md) { get; } | Gets the previously active docking item, or null if there was no active item. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.Docking](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
