共用方式為


CreationCommands.CreateAt 屬性

取得用於在目前位置建立新物件的工具命令識別項。

命名空間:  Microsoft.Windows.Design.Interaction
組件:  Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)

語法

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

屬性值

型別:Microsoft.Windows.Design.Interaction.ToolCommand
用於在目前位置建立新物件的工具命令識別項。

備註

這個屬性會在筆勢資料的 CurrentPosition 上建立物件。 筆勢資料必須是 MouseGestureData 型別。

.NET Framework 安全性

請參閱

參考

CreationCommands 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性