Height Method
Returns a query which matches the device height with a value.
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static StyleQuery Height(
this StyleQuery? previous,
StyleQueryComparisonOperator operator,
double value
)
<ExtensionAttribute>
Public Shared Function Height (
previous As StyleQuery,
operator As StyleQueryComparisonOperator,
value As Double
) As StyleQuery
[<ExtensionAttribute>]
static member Height :
previous : StyleQuery *
operator : StyleQueryComparisonOperator *
value : float -> StyleQuery
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).