2017-12-29 41 views
0

정보 아이콘은 C#만을 사용하여이 라벨의 오른쪽에 있어야합니다. enter image description herexamarin 양식의 배치 요소 C#

엑사 :

this.Content = new StackLayout 
      { 

       Children = 
       { 
        infoIcon, 
        Label, 
        webView 
       } 

많은 감사합니다!

답변

0
this.Content = new StackLayout 
{ 
    Children = 
    { 
     new StackLayout 
     { 
      Orientation = StackOrientation.Horizontal, 
      Children = 
      { 
       Label, 
       infoIcon, 
      } 
     }, 
     webView 
    } 
} 

그게 도움이 되길 바랍니다.