Vixen
dd8b0a81
csharp
public record class BoundElement

An element or a component instance.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (10)

  • public string Tag

    The tag as written.

  • public bool IsComponent

    Whether the name is PascalCase and so names a type.

  • public ImmutableArray<BoundAttribute> Attributes

    Its resolved attributes, key included.

  • public ImmutableArray<BoundNode> Children

    Its content.

  • public LinePositionSpan TagPosition

    Where the tag name is, so an unknown component reports on the tag.

  • public const string SelfTag

    The one reserved lowercase tag that is not an element.

  • public bool IsSelf

    Whether this is <self />, which names the host rather than a child.

  • public BoundExpression? Key

    The key attribute's expression, if it has one.

  • public BoundAttribute? ExitAttribute

    The exit attribute, if it has one.

  • public BoundAttribute? TagOverride

    The tag attribute, if it has one.

Methods (1)

Used by (4)

  • BinderVixen.Ui.Markup
  • BinderTestsVixen.Ui.Markup.Tests
  • ComponentEmitterVixen.Ui.Markup
  • PreviewCodeEditorViewVixen.Editor.AssetEditors