Version

IStatefulDictionary Interface

Contractual obligations of stateful dictionaries that act as proxies for the state retained by Toolbar items, before and after their inclusion into a Collection that is attached to the UltraWebToolbar element.
Syntax
'Declaration
 
Public Interface IStatefulDictionary 
public interface IStatefulDictionary 
Remarks

Toolbar items each maintain an internal IStatefulDictionary implementation through which they route their ViewState properties. This stateful dictionary can be implemented as any concrete dictionary, and tracks changes to property values up to and until the Toolbar item is added to a Collection associated with the UltraWebToolbar element. Once a Toolbar item is added to a collection, the control infrastructure replaces the dictionary with a StateBag so that all property changes to that point are retained when tracking viewstate.

It is not necessary for applications to implement IStatefulDictionary directly, however inheritors subclassing the base Toolbar item types may need to interact with their base class' ViewState property, and in those cases, knowledge of how this interface operates may be informative.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also