Files
2016-07-06 16:09:11 +03:00

962 B

nav-title title environment description previous_url
TextView How-To text-view nativescript Examples for using TextView /ApiReference/ui/text-view/HOW-TO

TextView

Using a TextView requires the text-view module. {%snippet require-textmodules%} {%snippet require-observable-textview%}

Binding two TextViews text property to observable view-model property.

{%snippet text-view-xml%} {%snippet observable-declare%}

Creating a TextView

{%snippet text-view-create%}

Setting the text of a TextView

{%snippet set-text-value%}

Binding text property directly to model

{%snippet binding-text-property-textview%}

Setting the hint of a TextView

{%snippet set-textview-hint%}

Binding hint property directly to model

{%snippet binding-hint-property-textview%}

Setting the editable property of a TextView

{%snippet setting-editable-property%}

Binding editable property directly to model

{%snippet binding-editable-property%}