Share via


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.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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)

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

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility