'Declaration Public Property DragIndicatorStyle As DragIndicatorStyle
public DragIndicatorStyle DragIndicatorStyle {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The value assign is not defined in the DragIndicatorStyle enum. |
This will only be used if the DragWindowStyle is OutlineWithIndicators or LayeredWindowWithIndicators.
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; }
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