All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeViewControl.DropMarkerTemplate Property

Gets or sets the template that defines the drop marker's appearance. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

Declaration

public DataTemplate DropMarkerTemplate { get; set; }
Public Property DropMarkerTemplate As DataTemplate

Property Value

Type Description
DataTemplate

The template that defines the drop marker's appearance.

Remarks

<dxg:TreeViewControl AllowDragDrop="True"
                     ShowTargetInfoInDragDropHint="True">
    <dxg:TreeViewControl.DropMarkerTemplate>
        <DataTemplate>
            <Grid IsHitTestVisible="False" Margin="0,-3,0,-3">
                <Border Height="6" 
                        Background="Orange" 
                        BorderBrush="Gray" 
                        BorderThickness="1" 
                        VerticalAlignment="Bottom"/>
            </Grid>
        </DataTemplate>
    </dxg:TreeViewControl.DropMarkerTemplate>
</dxg:TreeViewControl>

For information about drag-and-drop operations, refer to the following DevExpress WPF Grid help topic: Drag-and-Drop.

See Also