1 <?xml version="1.0" encoding="UTF-8" ?>
2 <View x:Class="Tizen.NUI.Examples..TextLayoutPage"
3 xmlns="http://tizen.org/Tizen.NUI/2018/XAML"
4 xmlns:a="clr-namespace:Tizen.NUI;assembly=Tizen.NUI"
5 xmlns:b="clr-namespace:Tizen.NUI.BaseComponents;assembly=Tizen.NUI"
6 xmlns:c="clr-namespace:Tizen.NUI.Components;assembly=Tizen.NUI.Components"
7 xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
9 <c:Slider x:Name="slider" Position2D="50,30" Size2D="500,50" BackgroundColor="Yellow" MaxValue="600" MinValue="100"/>
11 <b:View x:Name="view" SizeWidth="{Binding Source={x:Reference Name=slider}, Path=CurrentValue}" SizeHeight="500" Position2D="10,100"
12 HeightSpecification="-2">
15 <a:GridLayout Rows="2" GridOrientation="Horizontal"/>
18 <b:TextLabel x:Name="text" Text="this is text LineWrapMode=Character, Long loooooooooooooooooong!" BackgroundColor="Red"
19 TextColor="White" MultiLine="True" LineWrapMode="Character" WidthSpecification="-1" HeightSpecification="-2" />
21 <b:TextLabel x:Name="text2" Text="this is text2 LineWrapMode=Word, Long loooooooooooooooooong!" BackgroundColor="Blue"
22 TextColor="White" MultiLine="True" LineWrapMode="Word" WidthSpecification="-1" HeightSpecification="-2" />