Interface IStyleable
Interface for styleable elements.
[Obsolete("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
- Inherited Members
Properties
Classes
Gets the list of classes for the control.
IAvaloniaReadOnlyList<string> Classes { get; }
Property Value
StyleKey
Gets the type by which the control is styled.
[Obsolete("Override StyledElement.StyleKeyOverride instead.")]
Type StyleKey { get; }
Property Value
TemplatedParent
Gets the template parent of this element if the control comes from a template.
AvaloniaObject? TemplatedParent { get; }