Share via


Shape.UseWaitCursor Property

Gets or sets a value indicating whether to use the wait cursor for the current line or shape control.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property UseWaitCursor As Boolean
[BrowsableAttribute(true)]
public bool UseWaitCursor { get; set; }
[BrowsableAttribute(true)]
public:
property bool UseWaitCursor {
    bool get ();
    void set (bool value);
}
[<BrowsableAttribute(true)>]
member UseWaitCursor : bool with get, set
function get UseWaitCursor () : boolean 
function set UseWaitCursor (value : boolean)

Property Value

Type: Boolean
true to use the wait cursor for the current control; otherwise, false. The default is false.

Remarks

To set UseWaitCursor for all line and shape controls in a given container, set the UseWaitCursor property of the ShapeContainer.

.NET Framework Security

See Also

Reference

Shape Class

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

How to: Draw Lines with the LineShape Control (Visual Studio)

How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)

Introduction to the Line and Shape Controls (Visual Studio)