共用方式為


EditModeSwitchButton.SyncModeToOwningContainer 屬性

更新:2007 年 11 月

取得或設定值,表示是否要與主控容器同步。這是相依性屬性。

命名空間:  Microsoft.Windows.Design.PropertyEditing
組件:  Microsoft.Windows.Design (在 Microsoft.Windows.Design.dll 中)

語法

Public Property SyncModeToOwningContainer As Boolean

Dim instance As EditModeSwitchButton
Dim value As Boolean

value = instance.SyncModeToOwningContainer

instance.SyncModeToOwningContainer = value
public bool SyncModeToOwningContainer { get; set; }
public:
property bool SyncModeToOwningContainer {
    bool get ();
    void set (bool value);
}
public function get SyncModeToOwningContainer () : boolean
public function set SyncModeToOwningContainer (value : boolean)

屬性值

型別:System.Boolean

如果自動計算 TargetEditMode 以符合主控 PropertyContainerActiveEditMode 屬性,則為 true。如果要切換成為的模式是以 TargetEditMode 屬性為基礎,則為 false。預設為 true。

Dependency 屬性資訊

識別項欄位

SyncModeToOwningContainerProperty

中繼資料屬性設為 true。

使用權限

請參閱

參考

EditModeSwitchButton 類別

EditModeSwitchButton 成員

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

屬性編輯架構

WPF 設計工具擴充性