New to Telerik UI for WinForms? Start a free 30-day trial

Preserves a combined disabled-and-expanded theme state for PropertyGrid expanders.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PropertyGridExpanderStateManager : ItemStateManager

Inheritance: objectItemStateManagerBaseItemStateManagerPropertyGridExpanderStateManager

Constructors

Initializes the manager with the expander factory's state tree.

C#
public PropertyGridExpanderStateManager(StateNodeBase rootNode)
Parameters:rootNodeStateNodeBase

The root state node used to resolve the expander's visual states.

Methods

Selects the combined disabled-and-expanded state when an expanded expander is disabled; otherwise uses the base state logic.

C#
public override void ItemStateChanged(RadObject senderItem, RadPropertyChangedEventArgs changeArgs)
Parameters:senderItemRadObject

The element whose state changed.

changeArgsRadPropertyChangedEventArgs

The property-change details, or null when no property change is supplied.

Overrides: ItemStateManager.ItemStateChanged(RadObject, RadPropertyChangedEventArgs)