Posted 16 years ago
by Michael Hays
-
Owner,
Spiral LLC
I have a list box control and I would like to drag a Toolbar (or some other dockable) over that list box. The intent is to then capture an image brush off the current visual brush for that control and save it as a "bookmark" into the list control. I'm not receiving Drag events or PreviewDrag events.
Optimally, I'd like to be able to drag a toolbar off the list box and prepare it so that it can be dropped anywhere a properly initialized toolbar could be dropped (In my case, they will all share a common DockSite).
Is there any supported way to do this? Is not, is there some caveat if I want to slog around in the visual tree? My current thought was to make my own template for the ToolWindowContainer and translate changes to the children collection to events to which the ListBox could respond.
Any help would be appreciated.
[Modified at 09/30/2008 11:16 AM]
[Modified at 09/30/2008 12:13 PM]
Optimally, I'd like to be able to drag a toolbar off the list box and prepare it so that it can be dropped anywhere a properly initialized toolbar could be dropped (In my case, they will all share a common DockSite).
Is there any supported way to do this? Is not, is there some caveat if I want to slog around in the visual tree? My current thought was to make my own template for the ToolWindowContainer and translate changes to the children collection to events to which the ListBox could respond.
Any help would be appreciated.
[Modified at 09/30/2008 11:16 AM]
[Modified at 09/30/2008 12:13 PM]