TextBlock::SetFontSize Method (DependencyObject^, Double)
.NET Framework (current version)
Sets the value of the FontSize attached property on a specified dependency object.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The dependency object on which to set the value of the FontSize property.
- value
-
Type:
System::Double
The new value to set the property to.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: