By Martin Bradfrd - Tuesday, March 2, 2010
Hi there, I have an NlibraryBrowser document in my application and I was hoping there was a way to stop user from being able to drag items from my NDrawingView object into my NLibraryBrowser object?
Thanks! Martin BG
|
By Nevron Support - Wednesday, March 3, 2010
Hi Martin,
The library browser is a Nevron Panel Bar the bands of which are instances of the NLibraryGroup class. Each library group couples a NLibraryDocument and NLibraryView. To disable drop on the libraries in a browser you need to set the AllowDrop property of each library view to false:
foreach (NLibraryGroup group in browser.Bands) { group.View.AllowDrop = false; }
|
|