ActivationManager<T>
Class
An ActivationManager class.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Type Parameters:
T
Syntax:
C#
public class ActivationManager<T> where T : class, IActiveAware
Inheritance: objectActivationManager<T>
Constructors
Initializes a new instance of the ActivationManager class.
C#
public ActivationManager()
Properties
Gets the current Active item.
C#
public T Active { get; }
Sets criteria whether an item should be activated from the stack of items, when one is removed.
C#
public Func<T, bool> ShouldAutoActivate { get; set; }
Methods
Add the item to the active items collection and sets it as an active one.
C#
public void Activate(T item)
Add item to the active items collection. If the isActive is true, it activates the item.
Remove item from the active items collection.
C#
public void Remove(T item)
Events
Occurs when the Active item is changed.
C#
public event EventHandler<ActivationChangedEventArgs> ActiveChanged