語言

IContainItemStorage 介面

定義

提供物品面板的財產袋實作。

public interface class IContainItemStorage
public interface IContainItemStorage
type IContainItemStorage = interface
Public Interface IContainItemStorage
衍生

備註

ItemsControl與GroupItem類別實作此介面,讓物品面板能儲存其物品的狀態。

方法

名稱 Description
Clear()

清除所有財產關聯。

ClearItemValue(Object, DependencyProperty)

移除指定物品與財產之間的關聯。

ClearValue(DependencyProperty)

將指定的財產從所有財產袋中移除。

ReadItemValue(Object, DependencyProperty)

回傳與該項目相關聯的指定屬性值。

StoreItemValue(Object, DependencyProperty, Object)

儲存指定的屬性與價值,並將其與指定項目關聯。

適用於