Share via


CreationCommands.CreateWithin Property

Gets a tool command identifier for creating new objects within gesture positions.

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

Syntax

'Declaration
Public Shared ReadOnly Property CreateWithin As ToolCommand
    Get
public static ToolCommand CreateWithin { get; }
public:
static property ToolCommand^ CreateWithin {
    ToolCommand^ get ();
}
static member CreateWithin : ToolCommand
static function get CreateWithin () : ToolCommand

Property Value

Type: Microsoft.Windows.Design.Interaction.ToolCommand
A tool command identifier for creating new objects within gesture positions.

Remarks

This property creates the object within the gesture data’s starting and ending points, setting the object’s size in the process. The gesture data must be of type MouseGestureData.

.NET Framework Security

See Also

Reference

CreationCommands Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility