共用方式為


CreationCommands.CreateWithin 屬性

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

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

語法

'宣告
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

屬性值

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

備註

這個屬性會在筆勢資料的開始點和結束點內建立物件,並且在過程中設定物件的大小。 筆勢資料必須是 MouseGestureData 型別。

.NET Framework 安全性

請參閱

參考

CreationCommands 類別

Microsoft.Windows.Design.Interaction 命名空間

其他資源

WPF 設計工具擴充性