1、首先新建一个工程,工程的目录如下图,Controls下的就是自定义的一个图标控件,Enums下的是用来存放图标名称的枚举变量,Resources下的Icons是用来存放xaml图标的。 2、网页登陆阿里巴巴矢量图标库,挑选出自己想要的图标,然后下载对应的svg格式,如下图 3、下载完成后选择以文本的形式打开,然后找到里面的path,如下图。
这样就可以在xaml中使用字体图标了,FontFamily选用字体,Text选用特定图标。 <TextBlockFontFamily="pack://application:,,,/Resources/#FontAwesome"FontSize="100"Foreground="Green"Text=" "/><TextBlockFontFamily="pack://application:,,,/Resources/#Material Design Icons"FontSize="100"Foreground="Blue"Text...
Modifying the Thickness of WPF Material Design Icons Question: My UI incorporates the elegant Material Design in XAML, along with its set of icons. In this example, I would prefer to decrease the thickness of the line used for small icons, making it thinner. Add userDelete I am uncertain i...
MahApps.Metro.IconPacks 是一个开源的图标库,为 WPF 和 UWP 应用程序提供了一系列丰富多样的矢量图标。它是 MahApps.Metro UI 框架的一部分,旨在简化应用程序的图标使用和管理。 MahApps.Metro.IconPacks 包含了许多常见的图标集,如 Material Design Icons、FontAwesome、Octicons、Entypo+ 等,每个图标集都包含了大...
<ResourceDictionarySource="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml"/> <!--Geometry--> <ResourceDictionarySource="pack://application:,,,/Resources/Icons/Icons.xaml"/> <!--Custom Styles--> ...
<ResourceDictionarySource="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Lime.xaml"/> <!--Geometry--> <ResourceDictionarySource="pack://application:,,,/Resources/Icons/Icons.xaml"/> <!--Custom Styles--> ...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/...
时至今日,已包含29个图标库,共25914个图标. 29个图标库为: Bootstrap Icons , Boxicons , Codicons , Entypo+ , Eva Icons , Feather Icons , File Icons , Fontaudio , Font Awesome Free , Fork Awesome , Ionicons , Jam Icons , Material Design Icons , Material Design Icons Light , Material de...
Material Design styles for all major WPF Framework controls Additional controls to support the theme, including Multi Action Button, Cards, Dialogs, Clock Easy configuration of palette (at designandruntime), according toGoogle's guidelines FullMaterial Design Iconsicon pack ...
MahMaterialDragablzMashUp Update Flyout style to MahApps v1.3 Sep 24, 2016 MainDemo.Uwp start hacking the UWP checkbox Nov 19, 2016 MainDemo.Wpf badge animations Feb 10, 2017 MaterialDesignColors.Wpf.Tests Update Flyout style to MahApps v1.3 ...