Browse By Tags

  • Default DragSource Template

    I want to modify the default DragSource Template because when I completely override it, like this:

        <DataTemplate x:Key="ContentDragTemplate">
            <ContentControl Content="{Binding DragImage}" Opacity="0.5"/>
        </…

  • DropTargetStyle doesn't reset when cursor leaves DropTarget

     Please refer to the attached screen shot.

    I have set the DropTargetStyle property to a Style with color Yellow.  The DropTargets are the XamTreeItems in the right window pane.  The items are shown Yellow because I previously dragged an item from the ListBox…

  • Drag and Drop rows with in xamGrid

    Is there an example of how to do this? 

     

    I see how to drag from xamGrid to another area but how can i drag and drop to rearrange the rows of the xamGrid?

     

    thanks

     

  • Error when trying to use DropTargetStyle

    I'm getting a runtime exception at the instant I grab a DragSource item with the mouse and start to move it.

    I only get this when I've set the following on my DropTargets:

            dropTarget.DropTargetStyle = (Style)this.Resources["HoverOverStyle"…

  • Cannot set WrapPanel as DropTarget

    I'm trying to set a WrapPanel as DropTarget using the following approach:

     

     

     

     

     

     

     

    // Setup Drop Target
    DropTarget dropTarget = new DropTarget();
    dropTarget.IsDropTarget =
    true;
    dropTarget.DropChannels.Add(
    "ChannelA");
    DragDro…

  • Can't bind IsDraggable...

    I'm trying to bind the IsDraggable of a DragSource to a property on my user control, so that I can enable and disable dragging in code.  The binding is happening inside a DataTemplate in a XamGrid.  It does not seem to work...

    I found this discussion…

  • Implement Drag and Drop in C# instead of XAML?

    Is there an example implementation of Drag & Drop at  runtime using C# code?  The only examples I've seen are in Xaml.

    I need to Drag and Drop between a collection of XamTree's and a ListBox.  Also, need to move XamTreeItems around within a…

  • Drag & Drop functionality getting disabled...

    I have an Item Template that contains drag drop as well as add command functionality, Drag & Drop works fine until I use the add command. Once I used the add command Drag & Drop is being disabled in the whole application. I have reload the application…

  • Application crashed by Silverlight ContextMenu in drug

    Hi,

     I am confronted with the drug drop problem.

    Please look the sample project.
    The application crashes according to a constant procedure.

    01.The first procedure



    The drug is begun, and it clicks the mouse right button on the item that drops.
    The context…

  • Drag and Drop between user controls in different Tile Panes.

    Hello,

    I currently have Drag and Drop framework code working for a Datagrid and a Textbox user control that are both in the same TilePane of a Tile View. 

    The next level I am trying to achieve, hopefully it is possible, say the Datagrid and Textbox…

  • How to get Droptarget info.

    Hello,

    I was wondering if anyone knew how to get a DropTarget's info.  Say I have multiple textboxes and when I drop data into one of them, I would like to be able to get the name of the textbox that I dropped data into.

    I was playing around with…

  • How to Disappear OperationType icon

    Hi,

    I implement DragDropDataTemplate.
    but, The hand icon shown over the on the drug drop icon.
    (It becomes externals like the attached file. )

    How should I do to desappear this icon?

    Please help someone to know good samples , Forum past that looks like.

  • How to set DropTragetStyle in DragDropmanager.DropTarget

    Hi,

    I want to increase the DropTarget area.I mean to say when i am trying to drop an element it allows me to drop withing very small area.beyond that i am not able to drop.I want to increase that area.Can this be done in DropTargetStyle?Can i set width…

  • Drag Template & ItemSource DataContext

     

     

     Hello, 

    I'm trying to customize a drag and drop between two listboxes by setting specific values from the Item Source. 

    I use one of my UserControls in a DragTemplate ... but I can't find a way to set a DataContext to it !

     

    How could…

  • DragSource and Scrolling in XamGrid

    Hello,

    I am using the DragDropManager in the XamGrid in your newest Silverlight controls.  I have the DragSource and DropTargets working like I want with one exception.

    My problem is that when I move the scroll bar in the grid, the DragStart event fires…

  • How do I specify a blank area to drop to in a StackPanel??

    I want to have a stackpanel where I can drop items to that has a big blank space with "Drop here" in it.   When I use a stackpanel, I cannot drop to it since there are no items in it.  I want to add items to the stackpanel as I drop.  The best…

  • DragSource.IsDraggable breaks sorting and column resize on XamGrid

    Hello,

    We are using the DragManager in our XamGrids.  But once you have a DragSource.IsDraggable=True, the sort and column resize no longer work.  I've included sample code.  You can click the button to change the IsDraggable and see that when it is…

  • How can I tell from the xaml object model if a control is drag-able?

    I have a xamTree in which I make the leaf nodes drag-able.  

    I have silverlight acceptance tests that can look at the xamtree to validate it has the proper data, and I would like to validate it is drag-able.  Is there anyway to check if the dragsource…

  • DragDrop from XamGrid to XamTree

    I almost have this working and just need some guidance on whether I'm going about this correctly and more importantly how to fix the tiny issue I am having.

    I have uploaded a small sample project with the problem mentioned below.

    I want to be able…

  • can DragChannels be binding?

    Hi,

    I tried to binding DragChannels and didn't work, application and vs froze.

            <DataTemplate x:Key="DatoItemTemplate">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition…

  • Drag Drop with XamWebSlider

    Hi,

    I am using the Drag Drop manager to make my TrackFill of the XamWebSlider as draggable. In the DragTemplate I want to show a list of strings( for which i have property defined). I want to use a Listbox to show the list of strings in the DragBox  while…

  • Memory leak

    We are using the drag drop manager in some of our xaml view pages and believe there are memory leaks caused by the Infragistics drag drop framework.  We are using WinDbg to track the leak down.  Here is the output from WinDbg when inspecting the heap after…

  • Drag and Drop to DataGrid

    We are trying to implement drag and drop using your API to a toolkit datagrid, is this possible?  We can't figure out how to figure out to properly set the Drop Target to be an individual cell of the datagrid.  Could someone provide an example of this…

  • Drag Drop icon

    Hi,

    Is there anyway to change the location of the icon (x or hand) that is displayed so that it does not overlap the dragged item text? Say move to left or right edge.

    Thanks

  • RenderTransform on Drag?

    Is it possible to attach a RenderTransform so that when an object is being dragged, its "ghost" can take the same transformations (rotation, in my case) as the actual object?