728x90
728x170
■ BlurBitmapEffect 엘리먼트를 사용하는 방법을 보여준다.
▶ MainWindow.xaml
<Window
x:Class="TestProject.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="800"
Height="600"
Title="BlurBitmapEffect 엘리먼트 사용하기"
FontFamily="나눔고딕코딩"
FontSize="16">
<Grid>
<Button
Width="200"
Height="100"
FontSize="32"
Content="테스트">
<Button.BitmapEffect>
<BlurBitmapEffect
Radius="10"
KernelType="Box" />
</Button.BitmapEffect>
</Button>
</Grid>
</Window>
728x90
그리드형(광고전용)
'C# > WPF' 카테고리의 다른 글
[C#/WPF] BitmapPalette 클래스 사용하기 (0) | 2015.10.19 |
---|---|
[C#/WPF] BitmapSource 클래스 : Create 정적 메소드를 사용해 인덱스 비트맵 만들기 (0) | 2015.10.19 |
[C#/WPF] ToggleButton 엘리먼트 : 툴바 토글 버튼 스타일 사용하기 (0) | 2015.10.17 |
[C#/WPF] BitmapImage 엘리먼트 : SourceRect 속성 사용하기 (0) | 2015.10.15 |
[C#/WPF] BitmapImage 엘리먼트 : Rotation 속성 사용하기 (0) | 2015.10.15 |
[C#/WPF] MatrixAnimationUsingPath 엘리먼트 : 경로를 따라 외발 자전거 움직이기 (0) | 2015.10.14 |
[C#/WPF] MatrixAnimationUsingPath 엘리먼트 : 경로를 따라 버튼 움직이기 (0) | 2015.10.14 |
[C#/WPF] DoubleAnimationUsingPath 엘리먼트 : 문자열 깜박이기 (0) | 2015.10.14 |
[C#/WPF] DoubleAnimationUsingPath 엘리먼트 : 경로를 따라 버튼 움직이기 (0) | 2015.10.14 |
[C#/WPF] WinForm Form의 소유자를 WPF Window로 설정하기 (0) | 2015.10.14 |