Version

DragDropIndicatorSettings Property

Gets a DragDropIndicatorsSettings instance which contains the custom settings for the drag-drop indicators
Syntax
'Declaration
 
Public ReadOnly Property DragDropIndicatorSettings As Infragistics.Win.DragDropIndicatorSettings
public Infragistics.Win.DragDropIndicatorSettings DragDropIndicatorSettings {get;}
Example
Demonstrates how to set the image properties and Color property for the DragDropIndicatorSettings class.

Private Sub BtnSetDropIndicator_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSetDropIndicator.Click
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.Color = Color.Green
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageTop = Image.FromFile("topImage.jpg")
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageBottom = Image.FromFile("bottomImage.jpg")
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageLeft = Image.FromFile("leftImage.jpg")
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageRight = Image.FromFile("rightImage.jpg")
End Sub
private void btnSetDropIndicator_Click(object sender, EventArgs e)
{
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.Color = Color.Green;
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageTop = Image.FromFile("topImage.jpg");
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageBottom = Image.FromFile("bottomImage.jpg");
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageLeft = Image.FromFile("leftImage.jpg");
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageRight = Image.FromFile("rightImage.jpg");
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also