csharp
public sealed class InlineStyleStoreThe declarations written on elements themselves.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Separate from the rule set because the two are thrown away on completely different occasions. A .vcss saved in the editor reloads every rule; the elements, and whatever a component wrote directly onto them, are still there.
Fields and properties (1)
public int CountHow many blocks have been recorded.
Methods (3)
public InlineStyleId Add(ReadOnlySpan<Declaration> block)Records a block of declarations.
public void Replace(InlineStyleId id, ReadOnlySpan<Declaration> block)Replaces what a handle points at, keeping the handle.
public ReadOnlySpan<Declaration> DeclarationsOf(InlineStyleId id)The declarations behind a handle.
Used by (4)
- InlineStyleTestsVixen.Ui.Tests
- StyleEngineVixen.Ui.Styling
- StyleResolverVixen.Ui.Styling
- UiElementVixen.Ui