Delen via


ContentPresenter.FontSize Property

Definition

Gets or sets the font size for the text content presented by the ContentPresenter.

public:
 property double FontSize { double get(); void set(double value); };
double FontSize();

void FontSize(double value);
public double FontSize { get; set; }
var double = contentPresenter.fontSize;
contentPresenter.fontSize = double;
Public Property FontSize As Double
<ContentPresenter FontSize="double" .../>

Property Value

Double

double

A non-negative value that specifies the font size, measured in pixels.

Applies to