取得或設定值,表示是否要與主控容器同步。 這是相依性屬性。
命名空間: 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 以符合主控 PropertyContainer 的 ActiveEditMode 屬性,則為 true。如果要切換成為的模式是以 TargetEditMode 屬性為基礎,則為 false。預設值為 true。
相依性屬性資訊
識別項欄位 |
|
中繼資料屬性設為 true |
None |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.PropertyEditing 命名空間