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

Syntax

'Declaration
Public Shared ReadOnly Property CreateWithin As ToolCommand
'Usage
Dim value As ToolCommand 

value = CreationCommands.CreateWithin
public static ToolCommand CreateWithin { get; }
public:
static property ToolCommand^ CreateWithin {
    ToolCommand^ get ();
}
public 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

CreationCommands Members

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility