You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each program uses a set of icons. Isn't it better to manage the use of icons?
<Icon Platform="Auto" Kind="Account"/>
Platform
Platform is a Enum of:
1 Android (Material Design)
2 IOS (Apple Icons)
3 Window (Windows 10 Icons)
4 Auto (In relation to the output for each operating system, the icon of that set is set)
5 Custom
Kind
Kind is a Enum of Icon names tips: It is important that the name of each icon is the same on each platform
Icon Resources
It is better to use icon sources from existing open source sources.
they are being developed daily and are now relatively complete such as Material Design Icons
Also, if the desired programming icon is not available in the pack, it can create it in the available resources
Custom Icons
A programmer may want to use their own icon pack
<Icon Platform="Custom">
<Icon.Source>
<WindowsIcon SourceType="SVG" Source="FileIconName.svg" />
<AndroidIcon SourceType="Image" Source="FileIconName.png" />
<IOSIcon SourceType="FontIcon" Source="FontIcon.ttf" Kind="Account" />
//Or set an Icon for All Platforms
<Icon SourceType="XAML" Source="FileIconName.xaml" />
</Icon.Source>
</Icon>
SourceType is an Enam
1 SVG
2 XAML
3 JSON (Lottie)
4 Image (png, jpg ... Ico)
5 FontIcon
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Each program uses a set of icons. Isn't it better to manage the use of icons?
<Icon Platform="Auto" Kind="Account"/>
Platform
Platform is a Enum of:
1 Android (Material Design)
2 IOS (Apple Icons)
3 Window (Windows 10 Icons)
4 Auto (In relation to the output for each operating system, the icon of that set is set)
5 Custom
Kind
Kind is a Enum of Icon names
tips: It is important that the name of each icon is the same on each platform
Icon Resources
It is better to use icon sources from existing open source sources.
they are being developed daily and are now relatively complete such as Material Design Icons
Also, if the desired programming icon is not available in the pack, it can create it in the available resources
Custom Icons
A programmer may want to use their own icon pack
SourceType is an Enam
1 SVG
2 XAML
3 JSON (Lottie)
4 Image (png, jpg ... Ico)
5 FontIcon
Beta Was this translation helpful? Give feedback.
All reactions