You must Sign In to post a response.
  • Category: .NET

    Disable drag option for openfileDialog item in c# ( WPF)

    how to restrict drag and drop a item from OpenFileDialog box in wpf.

    disable drag option When user drag and drop any item on application from OpenFileDialog.

    How can I do this can any one any suggest me?
  • #768941
    Hai Rahul,
    The disable option restriction for the dag and drop is not straight forward. You need to write some custom logic and code to make this happen for the OpenFileDialog window.
    Below is the link where you can find the work around and the code snippet to do the same:

    Hope ti will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • Sign In to post your comments