Export (0) Print
Expand All

IAttachedPropertyStore Interface

Represents an attachable member store for an object where attachable members are set. This attachable member store can then be referenced with AttachablePropertyServices.

Namespace:  System.Xaml
Assembly:  System.Xaml (in System.Xaml.dll)

public interface IAttachedPropertyStore

The IAttachedPropertyStore type exposes the following members.

  NameDescription
Public propertyPropertyCountGets the count of the attachable member entries in this attachable member store.
Top

  NameDescription
Public methodCopyPropertiesToCopies all attachable member/value pairs from this attachable member store into a destination array.
Public methodRemovePropertyRemoves the entry for the specified attachable member from this attachable member store.
Public methodSetPropertySets a value for the specified attachable member in the specified store.
Public methodTryGetPropertyAttempts to get a value for the specified attachable member in the specified store.
Top

An attachable member is typically implemented and used as an attachable property. The term "attachable member" provides for the possibility that a technology also defines a system for attachable events. As an item in a property store, an attachable event stores a reference to the handler that is assigned through attachable member usage. An attachable event in XAML can use the same store as the attachable properties do, even if the attachable event is not truly a property to the underlying type system or as it is considered in real-world use.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft