728x90
반응형
728x170
■ BulletDecorator 엘리먼트에서 Image 엘리먼트를 불릿으로 사용하는 방법을 보여준다.
▶ 예제 코드 (C#)
<BulletDecorator
HorizontalAlignment="Center"
VerticalAlignment="Center"
Background="Yellow">
<BulletDecorator.Bullet>
<Image Height="50">
<Image.Source>
<BitmapImage
DecodePixelHeight="50"
UriSource="c:\pinkcherries.jpg" />
</Image.Source>
</Image>
</BulletDecorator.Bullet>
<TextBlock
Width="100"
TextWrapping="Wrap"
HorizontalAlignment="Left"
Foreground ="Purple">
A Simple BulletDecorator
</TextBlock>
</BulletDecorator>
728x90
반응형
그리드형(광고전용)
'C# > WPF' 카테고리의 다른 글
[C#/WPF] INotifyPropertyChanged, IEditableObject 인터페이스 구현 객체 정의하기 (0) | 2014.01.31 |
---|---|
[C#/WPF] DataGrid 엘리먼트 : 행 세부 정보 섹션 가로 스크롤 방지하기 (0) | 2014.01.31 |
[C#/WPF] DataGrid 엘리먼트 : RowDetailsVisibilityMode 속성 사용하기 (0) | 2014.01.31 |
[C#/WPF] DataGrid 엘리먼트 : RowDetailsTemplate 속성 사용하기 (0) | 2014.01.31 |
[C#/WPF] Canvas 엘리먼트 : Thumb 엘리먼트를 이용해 캔버스 크기 조정하기 (0) | 2014.01.31 |
[C#/WPF] Label 엘리먼트 : Target 속성 사용하기 (0) | 2014.01.31 |
[C#/WPF] CroppedBitmap 클래스 : 비트맵 소스에서 비트맵 잘라내기 (0) | 2014.01.31 |
[C#/WPF] CroppedBitmap 엘리먼트 : SourceRect 속성 사용하기 (0) | 2014.01.31 |
[C#/WPF] FormatConvertedBitmap 클래스 : 비트맵 소스 픽셀 포맷 변경하기 (0) | 2014.01.31 |
[C#/WPF] FormatConvertedBitmap 엘리먼트 : DestinationFormat 속성을 사용해 비트맵 픽셀 포맷 변경하기 (0) | 2014.01.31 |
댓글을 달아 주세요