Skip to main content

IStyle Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Defines the interface for styles.

Definition

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

[NotClientImplementableAttribute]
public interface IStyle : IResourceNode
View Source
ImplementsIResourceNode

Properties

ChildrenGets a collection of child styles.
HasResourcesGets a value indicating whether the object has resources.
(Inherited from IResourceNode)

Methods

TryGetResource(Object, ThemeVariant, Object)Tries to find a resource within the object.
(Inherited from IResourceNode)

See Also

Reference

Avalonia.Styling Namespace