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