EditModeSwitchButton.SyncModeToOwningContainer Property

Gets or sets a value that indicates whether to sync to the owning container. This is a dependency property.

Namespace:  Microsoft.Windows.Design.PropertyEditing
Assembly:  Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)

Syntax

'Declaration
Public Property SyncModeToOwningContainer As Boolean
'Usage
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)

Property Value

Type: System.Boolean
true if the TargetEditMode is calculated automatically to match the ActiveEditMode property of the owning PropertyContainer. false if the mode to switch to is based on the TargetEditMode property. The default is true.

Dependency Property Information

Identifier field

SyncModeToOwningContainerProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

EditModeSwitchButton Class

EditModeSwitchButton Members

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility