Class TabControlCacheBehavior<T>
Behavior to provide a caching mechanism for tab item content caching so tabs item contents aren't recreated each time the tab is focused.
Inherited Members
Namespace: Phoenix.Aruba.Behaviors
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TabControlCacheBehavior<T> where T : FrameworkElement
Type Parameters
Name | Description |
---|---|
T | Type of views to create for tabs. |
Fields
View SourceCacheControlsProperty
Dependency property used to bind behavior to TabControl.
Declaration
public static readonly DependencyProperty CacheControlsProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Methods
View SourceGetCacheControls(TabControl)
Get accessor for CacheControls property on behavior.
Declaration
public static bool GetCacheControls(TabControl tabControl)
Parameters
Type | Name | Description |
---|---|---|
TabControl | tabControl | TabControl to get property from. |
Returns
Type | Description |
---|---|
bool | Cache Controls Property on TabControl |
SetCacheControls(TabControl, bool)
Set accessor for CacheControls property on behavior.
Declaration
public static void SetCacheControls(TabControl tabControl, bool value)
Parameters
Type | Name | Description |
---|---|---|
TabControl | tabControl | TabControl to set property on. |
bool | value | Value to set for property. |