Class StyleInspection
The styling of one control: its classes and pseudo-states, every rule considered, and the winning value per property.
public sealed class StyleInspection
- Inheritance
-
StyleInspection
- Inherited Members
Properties
Classes
Style classes on the control.
public IReadOnlyList<string> Classes { get; }
Property Value
ControlType
CLR type name of the inspected control.
public string ControlType { get; }
Property Value
Name
Name of the control, or empty.
public string Name { get; }
Property Value
PseudoStates
Pseudo-states active on the control, such as hover or focus-visible.
public IReadOnlyList<string> PseudoStates { get; }
Property Value
Rules
Every rule attached to the control's style scope, in cascade order (lowest priority first).
public IReadOnlyList<StyleRuleInspection> Rules { get; }
Property Value
Template
Name of the control template in effect, or empty.
public string Template { get; }
Property Value
Winners
For each styled property, the winning value and where it came from.
public IReadOnlyList<StylePropertyInspection> Winners { get; }