Hi,I'd like to ask if it is possible to drag measures/dimensions from the dataselector and drop it to some other controls in my application? Maybe I'm doing something wrong but I can't drop anything dragged from the dataselector even if I set the allowdrop of the target and handle the drop event.Thanks and best regards,Tamas
Hi,
Can anyone please help me out on this? I'd need to find out which listbox have I dragged the item from.
Thanks and best regards,
Tamas
Hi Todor,
I have managed to create the same kind of panels that are on the dataselector, and dragging and dropping works fine.
Now I'd like to achieve the functionality to drag and drop the IOlapElements back to the dataselector, and in this case remove the elements from my own listbox.
Unfortunately after the following code the dragsource does not point to the listbox, but to a Border with a name "rootelement".
public class DropTriggerActionEx : XamTriggerAction<DragSource> { protected override void Invoke(object parameter) {
DropEventArgs args = parameter as DropEventArgs; if (args == null) { return; } FrameworkElement dropTarget = args.DropTarget as FrameworkElement; FrameworkElement dragSource = args.DragSource as FrameworkElement;....
So I simply cannot decide which listbox should I remove the dropped item from.
Can you give me a hint how I can get the "real" source of the drag?
Thanks! Is there any info when the 10.3 release will be available?
Hi
These settings are new type of localization we implemented in 10.3 version of control. for now just replace it with a constant string
RegardsTodor
Sorry I made a mistake, now it works fine. However the captions on the dataselector are lost (captions of the panels, update button etc). These captions are referred like this:
Content="{Binding StringSetting.DeferredUpdateLayoutCheckBoxLabel, RelativeSource={RelativeSource TemplatedParent}
Can I somehow get these strings, or should I simply enter a constant here?