Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VisualStyleElement.TextBox.Caret Class

Provides a VisualStyleElement for the caret of a text box. This class cannot be inherited.

System.Object
  System.Windows.Forms.VisualStyles.VisualStyleElement.TextBox.Caret

Namespace:  System.Windows.Forms.VisualStyles
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static class Caret

The VisualStyleElement.TextBox.Caret type exposes the following members.

  NameDescription
Public propertyStatic memberNormalGets a visual style element that represents a text box caret.
Top

The Normal property of the VisualStyleElement.TextBox.Caret class returns a VisualStyleElement that represents the insertion point of a text box.

Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 Platform Note: Visual styles are supported only on these platforms.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft