제목 : Canvas Layout 관련 코드 조각
글번호:
|
|
5
|
작성자:
|
|
레드플러스
|
작성일:
|
|
2008/06/22 오후 4:02:15
|
조회수:
|
|
2975
|
<UserControl x:Class="SilverlightApplication1.Page"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="400" Height="300">
<Canvas Background="Yellow">
<Button Content="안녕하세요 반갑습니다." Canvas.Top="96" Canvas.Left="96" Width="192" Height="192"></Button>
<Rectangle Fill="Red" Width="96" Height="96" Canvas.Left="96" Canvas.Top="96"></Rectangle>
</Canvas>
</UserControl>