TextBlock.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 font size for the text content in this element.
public:
property double FontSize { double get(); void set(double value); };
double FontSize();
void FontSize(double value);
public double FontSize { get; set; }
var double = textBlock.fontSize;
textBlock.fontSize = double;
Public Property FontSize As Double
<TextBlock FontSize="double" .../>
Property Value
Double
double
A non-negative value that specifies the font size, measured in pixels. The default is 11.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla