NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TextBoxBase.ShouldPersistCursor

Indicates whether the Cursor property should be persisted.

[Visual Basic]
Overrides Public Function ShouldPersistCursor() As Boolean
[C#]
public override bool ShouldPersistCursor();
[C++]
public: override bool ShouldPersistCursor();
[JScript]
public override function ShouldPersistCursor() : Boolean;

Return Value

true if the property value has changed from its default; otherwise, false.

Remarks

You typically use this method if you are either creating a designer for a text box control or creating your own control incorporating TextBoxBase.

See Also

TextBoxBase Class | TextBoxBase Members | System.WinForms Namespace