GrapeCity.Win.MultiRow Namespace > EditingActions Class : Copy Property |
Public Shared ReadOnly Property Copy As IAction
Dim value As IAction value = EditingActions.Copy
public static IAction Copy {get;}
void paste_Click(object sender, EventArgs e) { if (EditingActions.Paste.CanExecute(gcMultiRow1)) { EditingActions.Paste.Execute(gcMultiRow1); } } void copy_Click(object sender, EventArgs e) { if (EditingActions.Copy.CanExecute(gcMultiRow1)) { EditingActions.Copy.Execute(gcMultiRow1); } } void cut_Click(object sender, EventArgs e) { if(EditingActions.Cut.CanExecute(gcMultiRow1)) { EditingActions.Cut.Execute(gcMultiRow1); } }
Private Sub paste_Click(ByVal sender As Object, ByVal e As EventArgs) Handles paste.Click If EditingActions.Paste.CanExecute(gcMultiRow1) Then EditingActions.Paste.Execute(gcMultiRow1) End If End Sub Private Sub copy_Click(ByVal sender As Object, ByVal e As EventArgs) Handles copy.Click If EditingActions.Copy.CanExecute(gcMultiRow1) Then EditingActions.Copy.Execute(gcMultiRow1) End If End Sub Private Sub cut_Click(ByVal sender As Object, ByVal e As EventArgs) Handles cut.Click If EditingActions.Cut.CanExecute(gcMultiRow1) Then EditingActions.Cut.Execute(gcMultiRow1) End If End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2