Version

DragIndicatorStyle Property

Gets or sets the style of drag indicator that will be used when dragging panes.
Syntax
'Declaration
 
Public Property DragIndicatorStyle As DragIndicatorStyle
public DragIndicatorStyle DragIndicatorStyle {get; set;}

Property Value

The style of drag indicator that will be used when dragging panes
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe value assign is not defined in the DragIndicatorStyle enum.
Remarks

This will only be used if the DragWindowStyle is OutlineWithIndicators or LayeredWindowWithIndicators.

Example
The following code demonstrates how to use choose which drag indicators will be used when dragging panes.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinDock

Private Sub btnVistaDragIndicators_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVistaDragIndicators.Click
    ' Set a DragWindowStyle which uses indicators so the DragIndicatorStyle will be used.
    Me.UltraDockManager1.DragWindowStyle = DragWindowStyle.LayeredWindowWithIndicators

    ' Set the style of the drag indicators so they appear like the VS2008 indicators on 
    ' the Windows Vista operating system, regardless of the current operating system.
    Me.UltraDockManager1.DragIndicatorStyle = DragIndicatorStyle.VisualStudio2008Vista
End Sub
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.UltraWinDock;

private void btnVistaDragIndicators_Click( object sender, EventArgs e )
{
	// Set a DragWindowStyle which uses indicators so the DragIndicatorStyle will be used.
	this.ultraDockManager1.DragWindowStyle = DragWindowStyle.LayeredWindowWithIndicators;

	// Set the style of the drag indicators so they appear like the VS2008 indicators on 
	// the Windows Vista operating system, regardless of the current operating system.
	this.ultraDockManager1.DragIndicatorStyle = DragIndicatorStyle.VisualStudio2008Vista;
}
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