更新:2007 年 11 月
做為 PropertyEntry 執行個體的圖形容器。
命名空間: Microsoft.Windows.Design.PropertyEditing
組件: Microsoft.Windows.Design (在 Microsoft.Windows.Design.dll 中)
語法
Public Class PropertyContainer _
Inherits Control _
Implements INotifyPropertyChanged
Dim instance As PropertyContainer
public class PropertyContainer : Control,
INotifyPropertyChanged
public ref class PropertyContainer : public Control,
INotifyPropertyChanged
public class PropertyContainer extends Control implements INotifyPropertyChanged
備註
這個控制項沒有外觀,表示已定義控制項的行為,但未定義其外觀。然而,其樣式通常會設定為水平資料列,其中包含屬性名稱,接著是它的值編輯器。但是,這個控制項是要由協力廠商重新設定樣式,以符合其需求。樣式是由這個控制項內的邏輯所選取的三個 ControlTemplate 型別 (InlineRowTemplate、ExtendedPopupRowTemplate 及 ExtendedPinnedRowTemplate) 所控制。這個邏輯是以 ActiveEditMode 屬性目前的值為基礎。這個控制項也會公開三個 DataTemplate 型別 (InlineEditorTemplate、ExtendedEditorTemplate 及 DialogEditorTemplate),而每個資料列範本都可以使用這些型別對所編輯 PropertyValue 顯示適當的值編輯器。
繼承階層架構
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Microsoft.Windows.Design.PropertyEditing.PropertyContainer
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間