■ Button 클래스의 ContentLayout 속성을 사용하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 |
Button button = new Button { ContentLayout = new Button.ButtonContentLayout(Button.ButtonContentLayout.ImagePosition.Right, 20), ImageSource = new FileImageSource { File = "button.png" }, Text = "Button text" }; |