'宣言 Public Property DragIndicatorStyle As DragIndicatorStyle
public DragIndicatorStyle DragIndicatorStyle {get; set;}
例外 | 解説 |
---|---|
System.ComponentModel.InvalidEnumArgumentException | 指定された値は、DragIndicatorStyle 列挙体で定義されません。 |
これは DragWindowStyle が OutlineWithIndicators または 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; }