We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable Ctrl+C, Ctrl+V and Ctrl+X

Thread ID:





15210 Jun 14,2004 08:37 PM UTC Jun 14,2004 09:22 PM UTC WinForms 1
Tags: GridControl
Ankur Kalsi
Asked On June 14, 2004 08:37 PM UTC

Is there a property I can use to disable the copy, cut and paste clipboard shortcuts? If not, how else can I do it? Thanks

Administrator [Syncfusion]
Replied On June 14, 2004 09:22 PM UTC

You can turn off clipboard support when there is no active editing cell by setting: this.gridDataBoundGrid1.Model.CutPaste.ClipboardFlags = 0; When a cell is editing, the embedded cell control handles these keys, and you can handle it at that cell level. For example, this code zaps the context menu (that has these short cut keys) for the TextBox cell control. Dim c As Control = Me.grid.CellRenderers("Currency").Control c.ContextMenu = New ContextMenu


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon