IAttachedPropertyStore Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an attachable member store for an object where attachable members are set. This attachable member store can then be referenced with AttachablePropertyServices.
public interface class IAttachedPropertyStore
public interface IAttachedPropertyStore
type IAttachedPropertyStore = interface
Public Interface IAttachedPropertyStore
Remarks
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.
Properties
PropertyCount |
Gets the count of the attachable member entries in this attachable member store. |
Methods
CopyPropertiesTo(KeyValuePair<AttachableMemberIdentifier,Object>[], Int32) |
Copies all attachable member/value pairs from this attachable member store into a destination array. |
RemoveProperty(AttachableMemberIdentifier) |
Removes the entry for the specified attachable member from this attachable member store. |
SetProperty(AttachableMemberIdentifier, Object) |
Sets a value for the specified attachable member in the specified store. |
TryGetProperty(AttachableMemberIdentifier, Object) |
Attempts to get a value for the specified attachable member in the specified store. |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기