API Reference
HtmlCssCascadeCandidate
One supported declaration retained while resolving an owned property slice.
Inheritance
- Object
- HtmlCssCascadeCandidate
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlCssCascadeTrace.Candidates
Accepted by parameters
- Constructor HtmlCssCascadeTrace.HtmlCssCascadeTrace
Constructors
public HtmlCssCascadeCandidate(String declaredValue, String cascadedValue, HtmlCssCascadeSourceKind source, HtmlCssCascadeDecision decision, Boolean isEffective, HtmlCssPropertyParseStatus grammarStatus, Boolean isImportant, HtmlCssSpecificity specificity, Int32 ruleOrder, Int32 declarationOrder, String selector = null, String layerName = null) #Creates an immutable provider-neutral cascade candidate.
Parameters
- declaredValue System.String
- cascadedValue System.String
- source OfficeIMO.Html.Css.HtmlCssCascadeSourceKind
- decision OfficeIMO.Html.Css.HtmlCssCascadeDecision
- isEffective System.Boolean
- grammarStatus OfficeIMO.Html.Css.HtmlCssPropertyParseStatus
- isImportant System.Boolean
- specificity OfficeIMO.Html.Css.HtmlCssSpecificity
- ruleOrder System.Int32
- declarationOrder System.Int32
- selector System.String = null
- layerName System.String = null
Inherited Methods
Properties
public String DeclaredValue { get; } #Declaration value supplied to the cascade, including a CSS-wide keyword or unresolved var().
public String CascadedValue { get; } #Candidate value after CSS-wide keyword handling, or null for a reset or rollback.
public HtmlCssCascadeSourceKind Source { get; } #Where the candidate came from.
public HtmlCssCascadeDecision Decision { get; } #How the candidate participated in the final result.
public Boolean IsEffective { get; } #Whether this authored declaration won the local cascade before keyword or substitution fallback was applied.
public HtmlCssPropertyParseStatus GrammarStatus { get; } #Owned property-grammar status for the declaration value.
public Boolean IsImportant { get; } #Whether the declaration was important.
public HtmlCssSpecificity Specificity { get; } #Selector specificity. Inline, inherited and presentational candidates also expose their stable internal tuple.
public Int32 RuleOrder { get; } #Matched rule order, or -1 for inherited and presentational values.
public Int32 DeclarationOrder { get; } #Order within the declaration block.
public String Selector { get; } #Matched selector text when the source is a style rule.
public String LayerName { get; } #Qualified cascade-layer name, or null for an unlayered declaration.