Skip to main content

Height Method

Returns a query which matches the device height with a value.

Definition

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static StyleQuery Height(
this StyleQuery? previous,
StyleQueryComparisonOperator operator,
double value
)

Parameters

  StyleQuery
The previous query.
  StyleQueryComparisonOperator
The operator to match the device height
  Double
The height to match

Return Value

StyleQuery
The query.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StyleQuery. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

StyleQueries Class
Avalonia.Styling Namespace