Browse By Tags

  • How can I get the actual top left location of a dropped TextBlock.

    When I drop a TextBlock onto a Canvas I use the following code:

                var canvas = e.DropTarget as Canvas;
                var draggedElement = e.OriginalDragSource;
     
                FrameworkElement newElement = null;
                if (draggedElement is TextBlock)
                {
                    var oldText = draggedElement as TextBlock;
                    n…
  • Generate control with drag and drop framework from code

    Hello i want to dynamicly add placeholder controls for drag and and drop

    in xaml it would be like this:

    <StackPanel Background="Transparent" Grid.Row="0" Grid.Column="0">


    <ig:DragDropManager.DropTarget>
    <ig…

  • set rows or cells in xamgrid as DragSource

    Hello,

    in a XamGrid with hierarchical data, we need to set whole rows or single cells as dragsources, depending on the cell's column (i.e the first cell with description should trigger row dragging, all other cells [carrying the values] should trigger…

  • Infragistics drag and drop on to liquid richtextbox at cursor position

    I am trying to drop a textblock onto a liquid richtextbox. However, it doesn't know the cursor position. the SimulateLeftClick function works, but you don't see the cursor when dragging, and there is a lot to calculate for mouse positions especially…

  • set rows or cells in xamgrid as DragSource

    Hello,

    in a XamGrid with hierarchical data, we need to set whole rows or single cells as dragsources, depending on the cell's column (i.e the first cell with description should trigger row dragging, all other cells [carrying the values] should trigger…

  • Dragged item from list is too small during the drag operation

    I have the following definition for a drag source:

                <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
                    <ig:DragDropManager.DragSource>
                        <ig:DragSource IsDraggable="True"
                                       DragChannels="ChannelA…
  • How to handle dropping elements anywhere?

    My application consists Docking control and XamTilemanager in main pane. Elements from tiles can be dragged and dropped anywhere outside of XamTilemanager. Every Drop event handler will do the same thing and the dragged element won't be added to any collection…

  • DropTriggerAction has disappeared in 12.1

    this xaml no longer compiles where did this action go?

    <ig:DragSource DragTemplate="{StaticResource dragTemplate}" DataObject="{Binding Converter={StaticResource ObjectTypeToDataObjectConverter}}" IsDraggable="True">
                                    <…
  • Drag and Drop multiple items FROM Listbox

    I am interested in being able to drag multiple items from a SL Listbox to a xamDataTree using the DragDropManager.  Is that possible? Even though I have my listbox set to SelectionMode="Extended", when I start dragging the DragDropStartEventArgs…

  • Drop onto a row in XAMgrid

    Hi

    I need to drop onto individual rows in a XAMgrid and not just the entire grid. I have tried setting the rows as droptargets using

     

    Dim myRowDropTarget As Infragistics.DragDrop.DropTarget = New Infragistics.DragDrop.DropTarget()

    myrowdropTarget…

  • DragSnapshotElement not visible

     

    Hi,
    I try to add a UserControl to DragSnapshotElement but nothing is visible. Do i something wrong?

    
    
    
    
    Handler:
          AddHandler source.DragStart, Sub(s As Object, e As DragDropStartEventArgs)
                                                     Dim dragger As New Dragger
     
                                                     e.DragSnapshotElement = dragger
           End Sub
  • Bug? Memory leak and decreasing performance

    Hello.

    I'm using the Drag & Drop framework with many DragSources and many DropTargets.
    These are regularily newly instantiated when the user is filtering or updating a list of elements of which each element is a DragSource that can be dragged onto…

  • Drag and Drop with Silverlight Treeview

    Can you provide me an example of how to use DragAndDropManager with Silverlight Treeview. I used it in my application. But I don't think the I'm doing it the correct way. I want an example with Silverlight treeview only. I did it with silverlight datagrid…

  • Drag and Drop Listbox help

    Hey there, quick question, I want to drag a listbox item fromthe listbox to a grid cell.  The listbox item is a custom textbox control called "cEmployeeItem".  The listbox itemssource is bound to the view model and loaded on a button push.

    I…

  • InfragisticsSL5.DragDrop.v11.2.dll

    The Drag and Drop support seems to be missing from the Sliverlight 5 installers. 

    Which download is that file to be found in?  Assuming that it is in any of them....

  • One DragSource but Two DropTargets

    Hi,
    I’m working on the development of a POC on Silverlight 4 & I’m using MVVM Design Pattern.
    I need help regarding Drag and Drop Controls.
     
    The Scenario is I have one DragSource and two DropTargets and I want to inform my ViewModel…
  • can not access the control in Infragistics.DragDrop event

    Hi,

     

    I have implemented drag drop functionality in my silverlight page, inside the event I am trying to access the a page control. I am getting object reference error. but any other silver light page events I am able to access the control...code is…

  • StackPanel rearrange

    I basically have a stack panel with 2(or more) different custom contents. Trying to figure out how they are ordered as i would like to be able to reverse them via drag and drop.

     

    thanks 

  • XamTreeItems remain highlighted after drag over

    I have a XamTree with a large number of XamTreeItems.  When I grab an item with the left mouse button and drag it over other items, the items become highlighted.  Ordinarily, as I drag from item to item, the item just left becomes unhighlighted and the…

  • Possible Drop Target offset bug

    The behavior that I am about to describe appeared when I upgraded from v10.3 to v11.1

    My application has a 2x2 grid.  I have a DockManager located in row=1 col=1.  In one of the content panes in the DockManager, I added a DropTarget.  When I drag a component…

  • Reg: Drag and Drop from Listbox to TextBox

    Hi,

    I am using a ListBox with text blocks (ListBoxItems) and i want to drag and drop a list box item to a text box.  And i want to drop at a specified position inside a textbox.  Pls let me know how to proceed with a sample.

    Regards,

    Amarendra.

  • Issues around Drag and drop events, please help

    I'm testing out the Drag and Drop framework and I've run into a bit of a problem which I'm hoping someone can help with.

    I have a situation where I want to be able to drag a control to multiple places on other views.  I'm using a layout manager…

  • Can't Drop on Control Margin

    I have a stackpanel that contains collection of content. The stackpanel is the dropsource and the content are the dragsources. The purpose is that you can reorder the content on the panel. Currently I have implemented this as an ItemsControl with the…

  • Drag and Drop Mouse Cursor

    When you are dragging, the mouse cursor changes to a "grabby" hand. I want to change my cursor on some of my draggable elements on MouseOver so that it looks like it is draggable. How can I achieve this - it doesn't look like a standard cursor choice…

  • Dragndrop and browser zoom

    I using dragndrop with ListBox.   Comething like:                  <ListBox x:Name="fromListBox" MaxHeight="200" ItemContainerStyle="{StaticResource ListBoxItemDragnDropStyle}" Style="{StaticResource ListBoxDropStyle}" ....