ProposedEdit Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public struct ProposedEdit
type ProposedEdit = struct
Public Structure ProposedEdit
- Inheritance
-
ProposedEdit
Constructors
ProposedEdit(SnapshotSpan, String, IReadOnlyList<Field>, Nullable<Int32>, Int32) |
Create a new ProposedEdit. |
ProposedEdit(SnapshotSpan, String, IReadOnlyList<Field>) |
Create a new ProposedEdit. |
ProposedEdit(SnapshotSpan, String) |
Create a new ProposedEdit. |
Properties
Fields |
A spans that describe the "fields" in ReplacementText, indicating position where (after committing a prediction), the user can edit the fields in a "snippet-like" experience. |
FinalCaretPosition |
The final caret position in ReplacementText once the prediction has been committed and all field editing has finished. |
FinalCaretVirtualOffset |
The offset (in virtual space) when positioning the caret using FinalCaretPosition. |
ReplacementText |
The text used to replace Span. |
Span |
The span of text that will be replaced by ReplacementText. |
Methods
ToString() |