Effect (효과)
.NET프로그래밍/Silverlight 3.0 2009. 12. 7. 18:44 |[MainPage.xaml]
<UserControl x:Class="RiaEffect.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<Grid x:Name="LayoutRoot" Background="White">
<StackPanel>
<Button Content="기본버튼" Margin="10" Width="100" />
<Button Content="블러효과" Margin="10" Width="100">
<Button.Effect>
<BlurEffect Radius="2"></BlurEffect>
</Button.Effect>
</Button>
<Button Content="드롭쉐도우효과" Margin="10" Width="100">
<Button.Effect>
<DropShadowEffect Color="red" Opacity="0.8" BlurRadius="3"></DropShadowEffect>
</Button.Effect>
</Button>
</StackPanel>
</Grid>
</UserControl>
'.NET프로그래밍 > Silverlight 3.0' 카테고리의 다른 글
OOB(Out Of Browser) (0) | 2009.12.08 |
---|---|
Image Deep Zoom (0) | 2009.12.07 |
MouseDragElementBehavior (0) | 2009.12.07 |
FluidMoveBehavior (0) | 2009.12.07 |
PlaySoundAction (0) | 2009.12.07 |