IdSelector Class
An ID selector (https://drafts.csswg.org/selectors-4/#id-selectors).
public sealed class IdSelector : SimpleSelector- Inheritance
SimpleSelectorIdSelector
Properties
| Name | Description |
|---|---|
| Id | Gets the identifier to match. |
| Specificity | Gets the specificity of the selector, always (1, 0, 0). |
Specificity
Selector.csGets the specificity of the selector, always (1, 0, 0).
public override Specificity Specificity { get; }