728x90
728x170

x:Reference 는 다른 컨트롤의 값을 사용하고자 할때 사용된다.

Slider 가 있고 Slider 의 Value 값을 Label 컨트롤에 표현해 주려면 아래처럼 처리하면 된다.

  <Slider x:Name="slider" Minimum="0" Maximum="100" Value="0" Background="Gray"/>
        <Label  
            Text="{Binding Source={x:Reference slider}, Path=Value}"
            VerticalOptions="CenterAndExpand" 
            HorizontalOptions="CenterAndExpand"/>

사용하면서 느낀건데 자동화 처리가 잘 안되고 핫리로드도 잘 안된다.ㅜㅠ
다시 실행해야 적용이 되는데 Xamarin 때와 달라진게 없다;

728x90
그리드형
Posted by kjun
,