Share via


EditModeSwitchButton.TargetEditMode Property

Gets or sets the mode to switch to when this control is clicked. 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 TargetEditMode As PropertyContainerEditMode
    Get
    Set
public PropertyContainerEditMode TargetEditMode { get; set; }
public:
property PropertyContainerEditMode TargetEditMode {
    PropertyContainerEditMode get ();
    void set (PropertyContainerEditMode value);
}
member TargetEditMode : PropertyContainerEditMode with get, set
function get TargetEditMode () : PropertyContainerEditMode
function set TargetEditMode (value : PropertyContainerEditMode)

Property Value

Type: Microsoft.Windows.Design.PropertyEditing.PropertyContainerEditMode
A PropertyContainerEditMode object.

Dependency Property Information

Identifier field

TargetEditModeProperty

Metadata properties set to true

Inline

Remarks

Only used when the SyncModeToOwningContainer property is set to false. The default is Inline.

.NET Framework Security

See Also

Reference

EditModeSwitchButton Class

Microsoft.Windows.Design.PropertyEditing Namespace

Other Resources

Property Editing Architecture

WPF Designer Extensibility