Class ClipboardCopyToBufferEventArgs
Provides data about the ClipboardCopyToBuffer: events.
Inheritance
System.Object
System.EventArgs
ClipboardCopyToBufferEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class ClipboardCopyToBufferEventArgs : SyncfusionHandledEventArgs
Remarks
ClipboardCopyToBufferEventArgs is a custom event argument class used by the ClipboardCopyToBuffer operations in a GridModel.
This event lets you modify the text which is being copied to the buffer
Constructors
ClipboardCopyToBufferEventArgs(String, GridRangeInfoList)
Initializes a new instances ofClipboardCopyToBufferEventArgs class.
Declaration
public ClipboardCopyToBufferEventArgs(string text, GridRangeInfoList range)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | You can modify the text that have been copied. |
GridRangeInfoList | range | You can set the range to copy the text into certain range. |
Properties
CopyText
Gets or sets a string value which will replace the text being copied
Declaration
[TraceProperty(true)]
public string CopyText { get; set; }
Property Value
Type |
---|
System.String |
Ranges
Gets or sets a string value which will replace the text being copied
Declaration
[TraceProperty(true)]
public GridRangeInfoList Ranges { get; }
Property Value
Type |
---|
GridRangeInfoList |