패키지 설치 없이 사용할 수 있는 간편한 디자인. 

 

 

1. 

Button일 경우 padding이 안먹히는데. 
ContentPresenter 속성의 margin으로 하면 내부컨텐츠를 움직일 수 있다. 
https://stackoverflow.com/questions/48804439/to-set-padding-for-textblock-inside-contentpresenter

 

To set padding for textblock inside ContentPresenter

<ControlTemplate TargetType="TabItem"> <Border x:Name="Border" Margin="{TemplateBinding Margin}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{

stackoverflow.com

 

 

2. 아주 기본 아이콘 

https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-ui-symbol-font

 

Segoe MDL2 Assets icons - Windows apps

This article lists and provides usage guidance for the glyphs that come with the Segoe MDL2 Assets font.

learn.microsoft.com

 

사용 방법(wpf용)

<TextBlock FontFamily="Segoe MDL2 Assets" Text="&#xE760;" FontSize="32"/>

 

 

 

 

 

3. 이건 xml은 아니고  html, css 이뻐서 들고옴. 코드를 볼 수 있어서 참조용

https://www.frontendplanet.com/css-pagination-examples/

 

31 CSS Pagination Examples

 

www.frontendplanet.com

 

 

 

 

 

+ Recent posts