패키지 설치 없이 사용할 수 있는 간편한 디자인.
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="" FontSize="32"/>
3. 이건 xml은 아니고 html, css 이뻐서 들고옴. 코드를 볼 수 있어서 참조용
https://www.frontendplanet.com/css-pagination-examples/
31 CSS Pagination Examples
www.frontendplanet.com
'회사_ C#, MSSQL, WPF' 카테고리의 다른 글
visual studio에서 Application already started c# 프로젝트 복사 명 (0) | 2024.12.19 |
---|---|
Visual Studio 내에서 색상 쉽게 조절하는 방법(Color Picker) (0) | 2024.11.21 |
c#, wpf (제조업) 개발자 3~4개월차 후기 (5) | 2024.10.11 |
MSSQL 중국어 깨짐 현상, ?표 현상 해결방법 (2) | 2024.09.30 |
C# wpf .xml 파일 읽기(열기) 데이터 처리하기# wpf .xml 파일 열고 데이터 처리하기 (0) | 2024.09.27 |