Share via


StateElement Class

Provides a dictionary of information which provides notification when items change in the collection.

Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
<SerializableAttribute> _
<DefaultMemberAttribute("Item")> _
Public Class StateElement
    Inherits NameObjectCollectionBase
    Implements IChangeNotification, IDisposable
'Usage
Dim instance As StateElement
[SerializableAttribute] 
[DefaultMemberAttribute("Item")] 
public class StateElement : NameObjectCollectionBase, IChangeNotification, IDisposable
[SerializableAttribute] 
[DefaultMemberAttribute(L"Item")] 
public ref class StateElement : public NameObjectCollectionBase, IChangeNotification, IDisposable
/** @attribute SerializableAttribute() */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public class StateElement extends NameObjectCollectionBase implements IChangeNotification, IDisposable
SerializableAttribute 
DefaultMemberAttribute("Item") 
public class StateElement extends NameObjectCollectionBase implements IChangeNotification, IDisposable

Remarks

Strongly-typed derived elements have access to the protected indexer on the class, but clients of these classes will have to forcedly use the getters/setters, thus the derived class is always in control of its state.

Inheritance Hierarchy

System.Object
   System.Collections.Specialized.NameObjectCollectionBase
    Microsoft.Practices.CompositeUI.StateElement
       Microsoft.Practices.CompositeUI.State

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

StateElement Members
Microsoft.Practices.CompositeUI Namespace