Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Diagram for .NET
»
Preventing user from dragging shapes INTO NLibraryMaster objects
Preventing user from dragging shapes INTO NLibraryMaster objects
Post Reply
Preventing user from dragging shapes INTO NLibraryMaster objects
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Martin Bradfrd
Martin Bradfrd
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 5,
Visits: 1
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
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 15 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
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;
}
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Preventing user from dragging shapes INTO NLibraryMaster objects
Martin Bradfrd
-
15 Years Ago
Hi Martin, The library browser is a Nevron Panel Bar the bands of...
Nevron Support
-
15 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search