An Editor can be made to auto-size to its content by setting the
Editor.AutoSize property to TextChanges,
which is a value of the EditoAutoSizeOption enumeration.
This enumeration has two values: Disabled indicates that automatic resizing is disabled,
and is the default value. TextChanges indicates that automatic resizing is enabled.
<Editor Text="Enter text here" AutoSize="TextChanges" />
Editor.AutoSize property to TextChanges,
which is a value of the EditoAutoSizeOption enumeration.
This enumeration has two values: Disabled indicates that automatic resizing is disabled,
and is the default value. TextChanges indicates that automatic resizing is enabled.
<Editor Text="Enter text here" AutoSize="TextChanges" />
No comments:
Post a Comment