Material Tabs and Geometry (SVG) icon
Contributor: @mkanyo (Miklos Kanyo)
Since version 2.2, a new type of tab has been introduced: the MaterialUnderlinedTabItem
.
It's a full implementation of the material tabs specifications:
https://material.io/components/tabs
IconOptions
values:
- TopIcon
- IconOnly
- LeadingIcon
- TextOnly
You can also set precisely the gap between the icon and the text thanks to the IconTextSpacing
.
Instead of using a classic Image
you can also set a svg Geometry
icon thanks to the GeometryIcon
property.
If you chose to go down this road you can also set the following properties:
public bool Fill
public double StrokeThickness
public double IconTextSpacing