| File: RenderTree\RenderTreeFrameType.cs | Web Access |
| Project: src\aspnetcore\src\Components\Components\src\Microsoft.AspNetCore.Components.csproj (Microsoft.AspNetCore.Components) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Components.RenderTree; /// <summary> /// Types in the Microsoft.AspNetCore.Components.RenderTree are not recommended for use outside /// of the Blazor framework. These types will change in future release. /// </summary> // // Describes the type of a <see cref="RenderTreeFrame"/>. public enum RenderTreeFrameType : short { /// <summary> /// Used only for uninitialized frames. /// </summary> None = 0, /// <summary> /// Represents a container for other frames. /// </summary> Element = 1, /// <summary> /// Represents text content. /// </summary> Text = 2, /// <summary> /// Represents a key-value pair associated with another <see cref="RenderTreeFrame"/>. /// </summary> Attribute = 3, /// <summary> /// Represents a child component. /// </summary> Component = 4, /// <summary> /// Defines the boundary around range of sibling frames that should be treated as an /// unsplittable group for the purposes of diffing. This is typically used when appending /// a tree fragment generated by external code, because the sequence numbers in that tree /// fragment are not comparable to sequence numbers outside it. /// </summary> Region = 5, /// <summary> /// Represents an instruction to capture or update a reference to the parent element. /// </summary> ElementReferenceCapture = 6, /// <summary> /// Represents an instruction to capture or update a reference to the parent component. /// </summary> ComponentReferenceCapture = 7, /// <summary> /// Represents a block of markup content. /// </summary> Markup = 8, /// <summary> /// Represents an instruction to use a specified render mode for the component. /// </summary> ComponentRenderMode = 9, /// <summary> /// Represents an application-assigned name for an event. /// </summary> NamedEvent = 10, }