共用方式為


EditModeSwitchButton.SyncModeToOwningContainer 屬性

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

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

語法

'宣告
Public Property SyncModeToOwningContainer As Boolean
    Get
    Set
public bool SyncModeToOwningContainer { get; set; }
public:
property bool SyncModeToOwningContainer {
    bool get ();
    void set (bool value);
}
member SyncModeToOwningContainer : bool with get, set
function get SyncModeToOwningContainer () : boolean
function set SyncModeToOwningContainer (value : boolean)

屬性值

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

相依性屬性資訊

識別項欄位

SyncModeToOwningContainerProperty

中繼資料屬性設為 true

None

.NET Framework 安全性

請參閱

參考

EditModeSwitchButton 類別

Microsoft.Windows.Design.PropertyEditing 命名空間

其他資源

屬性編輯架構

WPF 設計工具擴充性