Creates enabled, direction-specific, and collapsed visual states for collapsible-panel elements.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCollapsiblePanelElementStateManagerFactory : ItemStateManagerFactory
Inheritance: objectItemStateManagerFactoryBaseItemStateManagerFactoryRadCollapsiblePanelElementStateManagerFactory
Constructors
Creates a state factory using the properties that supply expand direction and expanded state.
public RadCollapsiblePanelElementStateManagerFactory(RadProperty expandDirectionProperty, RadProperty isExpandedProperty)
The property used to select direction-specific states.
isExpandedPropertyRadPropertyThe property used to select the collapsed state.
Methods
Adds the direction, collapsed, and disabled states to the manager's default visible states.
protected override void AddDefaultVisibleStates(ItemStateManager sm)
The state manager to configure.
Overrides:
Creates an enabled-state root that links to the collapsible-panel states and a disabled placeholder.
public override StateNodeBase CreateRootState()
StateNodeBase
The root of the element's state tree.
Overrides:
Creates states for each expand direction and for the collapsed panel state.
protected override StateNodeBase CreateSpecificStates()
StateNodeBase
The direction and collapsed-state branches.
Overrides: