StrokesReparentedEventArgs.ReparentedStrokes 屬性
取得已重設父代的筆劃。
命名空間: Microsoft.Ink
組件: Microsoft.Ink.Analysis (在 Microsoft.Ink.Analysis.dll 中)
語法
'宣告
Public ReadOnly Property ReparentedStrokes As Strokes
'用途
Dim instance As StrokesReparentedEventArgs
Dim value As Strokes
value = instance.ReparentedStrokes
public Strokes ReparentedStrokes { get; }
public:
property Strokes^ ReparentedStrokes {
Strokes^ get ();
}
/** @property */
public Strokes get_ReparentedStrokes()
public function get ReparentedStrokes () : Strokes
屬性值
型別:Microsoft.Ink.Strokes
已重設父代的筆劃。
範例
下列範例會定義用來處理 StrokesReparented 事件的 ReparentStrokes 方法。事件資訊會傳遞給 theDocumentModel 文件模型物件。
這個範例並未提供文件模型的定義,也未示範處理傳入資訊的方式。
'/ <summary>
'/ Handles the InkAnalyzer.StrokeReparented event.
'/ </summary>
'/ <param name="sender">The source of the event.</param>
'/ <param name="e">The event data.</param>
Private Sub ReparentStroke( _
ByVal sender As Object, _
ByVal e As Microsoft.Ink.StrokesReparentedEventArgs)
Me.theDocumentModel.ReparentStrokes(e.ReparentedStrokes, e.SourceNode, _
e.DestinationNode, CType(sender, Microsoft.Ink.InkAnalyzer))
End Sub 'ReparentStroke
/// <summary>
/// Handles the InkAnalyzer.StrokeReparented event.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The event data.</param>
private void ReparentStrokes(
object sender, Microsoft.Ink.StrokesReparentedEventArgs e)
{
this.theDocumentModel.ReparentStroke(
e.ReparentedStrokes, e.SourceNode, e.DestinationNode,
(Microsoft.Ink.InkAnalyzer)sender);
}
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0