Skip to main content

StyleQuery Methods

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()
(Overrides Object.ToString())
ToString(ContainerQuery)Gets a string representing the query, with the nesting separator (^) replaced with the parent query.

Extension Methods

Height(StyleQueryComparisonOperator, Double)Returns a query which matches the device height with a value.
(Defined by StyleQueries)
Width(StyleQueryComparisonOperator, Double)Returns a query which matches the device width with a value.
(Defined by StyleQueries)

See Also

Reference

StyleQuery Class
Avalonia.Styling Namespace