Skip to main content

IStyleable Interface

Obsolete.

This interface may be removed in 12.0. Use StyledElement, or override StyledElement.StyleKeyOverride to override the StyleKey for a class.

Interface for styleable elements.

Definition

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

[ObsoleteAttribute("This interface may be removed in 12.0. Use StyledElement, or override StyledElement.StyleKeyOverride to override the StyleKey for a class.")]
public interface IStyleable : INamed
View Source
ImplementsINamed

Properties

ClassesGets the list of classes for the control.
NameGets the element name.
(Inherited from INamed)
StyleKeyGets the type by which the control is styled.
Obsolete.
TemplatedParentGets the template parent of this element if the control comes from a template.

See Also

Reference

Avalonia.Styling Namespace