TextBlock.FontSize Properti

Definisi

Mendapatkan atau mengatur ukuran font untuk konten teks dalam elemen ini.

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" .../>

Nilai Properti

Double

double

Nilai non-negatif yang menentukan ukuran font, diukur dalam piksel. Defaultnya adalah 11.

Berlaku untuk