Selector Class
A selector in a Style.
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract class Selector
Public MustInherit Class Selector
[<AbstractClassAttribute>]
type Selector = class end
Inheritance | Object → Selector |
Constructors
Selector() | Initializes a new instance of the Selector class |
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(Style) | Gets a string representing the selector, with the nesting separator (^ ) replaced with the parent selector. |
Extension Methods
Child() | Returns a selector which matches a previous selector's child. (Defined by Selectors) |
Class(String) | Returns a selector which matches a control's style class. (Defined by Selectors) |
Descendant() | Returns a selector which matches a descendant of a previous selector. (Defined by Selectors) |
Is(Type) | Returns a selector which matches a type or a derived type. (Defined by Selectors) |
Is(T)() | Returns a selector which matches a type or a derived type. (Defined by Selectors) |
Name(String) | Returns a selector which matches a control's Name. (Defined by Selectors) |
Nesting() | (Defined by Selectors) |
Not(Func(Selector, Selector)) | Returns a selector which inverts the results of selector argument. (Defined by Selectors) |
Not(Selector) | Returns a selector which inverts the results of selector argument. (Defined by Selectors) |
NthChild(Int32, Int32) | The :nth-child() pseudo-class matches elements based on their position in a group of siblings. (Defined by Selectors) |
NthLastChild(Int32, Int32) | The :nth-child() pseudo-class matches elements based on their position among a group of siblings, counting from the end. (Defined by Selectors) |
OfType(Type) | Returns a selector which matches a type. (Defined by Selectors) |
OfType(T)() | Returns a selector which matches a type. (Defined by Selectors) |
PropertyEquals(AvaloniaProperty, Object) | Returns a selector which matches a control with the specified property value. (Defined by Selectors) |
PropertyEquals(T)(AvaloniaProperty(T), Object) | Returns a selector which matches a control with the specified property value. (Defined by Selectors) |
Template() | Returns a selector which enters a lookless control's template. (Defined by Selectors) |