FontIcon.FontSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the size of the icon glyph.
public:
property double FontSize { double get(); void set(double value); };
double FontSize();
void FontSize(double value);
public double FontSize { get; set; }
var double = fontIcon.fontSize;
fontIcon.fontSize = double;
Public Property FontSize As Double
<FontIcon FontSize="double" .../>
Property Value
double
A non-negative value that specifies the font size, measured in pixels.
Remarks
The unit measure for FontSize is pixels, measuring the line height of the characters in the font. The apparent size of text in the UI can vary based on the current scaling. If you want to use different FontSize values for different scalings, you can do this using the resources system.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin