MainPage.xaml |
[그림 15-1] <Canvas Width="400" Height="400" Background="Silver"> <Rectangle Canvas.Top="100" Canvas.Left="120" Width="150" Height="150" Fill="Yellow" RadiusY="150"></Rectangle> </Canvas> |
응용 예제입니다.
FrmElipse.xaml |
[그림 15-2] <Grid x:Name="LayoutRoot" Background="White"> <Ellipse x:Name="ellWon2" Stroke="Red" Width="200"
StrokeThickness="5" Fill="Red" Margin="100,100,100,90"></Ellipse> <Ellipse x:Name="ellWon" Canvas.Left="5" Canvas.Top="10" Width="150" Fill="Yellow" Stroke="Black" StrokeThickness="3" Margin="125,111,125,100"> </Ellipse> <Ellipse x:Name="ellWon3" Canvas.Left="10" Canvas.Top="30" Fill="Black" Stroke="Black" StrokeThickness="3" Margin="155,111,151,100"> </Ellipse> </Grid> |
'Silverlight' 카테고리의 다른 글
17.SilverLight3 - Shape - PolyLine (선 열려있는 모양) (0) | 2009.11.25 |
---|---|
16.SilverLight3 - Shape - Line ( 선 ) (0) | 2009.11.25 |
14.SilverLight3 - Shape - Rectangle ( 사각형 ) (0) | 2009.11.25 |
13.SilverLight3 - Layout - DockPanel (0) | 2009.11.25 |
12.SilverLight3 - Layout - WrapPanel (0) | 2009.11.25 |
Comments