PowerTools SPREAD for Windows Forms 10.0J
PasteOption プロパティ


ClipboardPasteOptionsを取得します。
構文
'Declaration
 
Public ReadOnly Property PasteOption As ClipboardPasteOptions
'使用法
 
Dim instance As ClipboardPastedEventArgs
Dim value As ClipboardPasteOptions
 
value = instance.PasteOption
public ClipboardPasteOptions PasteOption {get;}
リストボックスをフォームに追加して値をセルに貼り付けると、PasteOptionプロパティの値がリストボックスに表示されます。
private void fpSpread1_ClipboardPasted(object sender, FarPoint.Win.Spread.ClipboardPastedEventArgs e)
{
listBox1.Items.Add(e.PasteOption.ToString());
}

private void fpSpread1_ClipboardPasting(object sender, FarPoint.Win.Spread.ClipboardPastingEventArgs e)
{
listBox1.Items.Add(e.Behavior.ToString());
}
Private Sub FpSpread1_ClipboardPasted(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ClipboardPastedEventArgs) Handles FpSpread1.ClipboardPasted
ListBox1.Items.Add(e.PasteOption.ToString())
End Sub

Private Sub FpSpread1_ClipboardPasting(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ClipboardPastingEventArgs) Handles FpSpread1.ClipboardPasting
ListBox1.Items.Add(e.Behavior.ToString())
End Sub
参照

ClipboardPastedEventArgs クラス
ClipboardPastedEventArgs メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.