Block.GetLineHeight(DependencyObject) Block.GetLineHeight(DependencyObject) Block.GetLineHeight(DependencyObject) Block.GetLineHeight(DependencyObject) Method

Definición

Devuelve el valor de la propiedad adjunta LineHeight de un objeto de dependencia especificado.Returns the value of the LineHeight attached property for a specified dependency object.

public:
 static double GetLineHeight(System::Windows::DependencyObject ^ element);
[System.ComponentModel.TypeConverter(typeof(System.Windows.LengthConverter))]
public static double GetLineHeight (System.Windows.DependencyObject element);
static member GetLineHeight : System.Windows.DependencyObject -> double
Public Shared Function GetLineHeight (element As DependencyObject) As Double

Parámetros

element
DependencyObject DependencyObject DependencyObject DependencyObject

Objeto de dependencia para el que se va a recuperar el valor de la propiedad LineHeight.The dependency object from which to retrieve the value of the LineHeight property.

Devoluciones

Valor actual de la propiedad asociada LineHeight del objeto de dependencia especificado.The current value of the LineHeight attached property on the specified dependency object.

Excepciones

Se aplica a

Consulte también: