CodeDomDesignerData.CaretPosition Property
Gets or sets the recommended caret placement position for the member to which this object is attached.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Public Overridable Property CaretPosition As Point
public virtual Point CaretPosition { get; set; }
public:
virtual property Point CaretPosition {
Point get ();
void set (Point value);
}
abstract CaretPosition : Point with get, set
override CaretPosition : Point with get, set
function get CaretPosition () : Point
function set CaretPosition (value : Point)
Property Value
Type: System.Drawing.Point
The recommended caret position.
Remarks
This method will return Empty if the recommended caret position is unknown.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace