Returns the value of the ContentFontSize dependency property for the specified control.

Namespace: Elysium.Parameters
Assembly: Elysium (in Elysium.dll) Version: 2.0.976.4 (2.0.976.4)

Syntax

C#
public static double GetContentFontSize(
	DependencyObject obj
)
Visual Basic
Public Shared Function GetContentFontSize ( 
	obj As DependencyObject
) As Double

Parameters

obj
Type: System.Windows..::..DependencyObject
The control, for which the value of the property is being got.

Return Value

Type: Double
The size of the font of the control's content.

Exceptions

ExceptionCondition
System..::..ArgumentNullException The parameter obj has a value null.

Contracts

Requires
obj != null
Ensures
The being returned value is positive.

See Also