次の方法で共有


PropertyContainer クラス

更新 : 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

解説

このコントロールには外観がありません。つまり、コントロールの動作は定義されますが、外観は定義されません。通常は、プロパティ名の後にその値のエディタを含む水平方向の行としてスタイル設定されます。ただし、このコントロールのスタイルはサードパーティが必要に応じて再設定することになっています。このスタイルは、このコントロール内のロジックによって選択される 3 つの ControlTemplate 型 (InlineRowTemplateExtendedPopupRowTemplate、および ExtendedPinnedRowTemplate) で制御されます。このロジックは、ActiveEditMode プロパティの現在の値に基づいています。また、このコントロールは、それぞれの行テンプレートが編集対象の PropertyValue 用の適切な値エディタを表示するために使用できる 3 つの DataTemplate 型 (InlineEditorTemplateExtendedEditorTemplate、および DialogEditorTemplate) を公開します。

継承階層

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

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

PropertyContainer メンバ

Microsoft.Windows.Design.PropertyEditing 名前空間

その他の技術情報

WPF デザイナの機能拡張

プロパティ編集アーキテクチャ