Class RadzenSkeleton
RadzenSkeleton component. Displays a loading placeholder with various animation types.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenSkeleton : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Examples
<RadzenSkeleton Variant="SkeletonVariant.Text" Animation="SkeletonAnimation.Wave" Style="width: 200px; height: 20px;" />
Constructors
RadzenSkeleton()
RadzenSkeleton component. Displays a loading placeholder with various animation types.
Declaration
public RadzenSkeleton()
Examples
<RadzenSkeleton Variant="SkeletonVariant.Text" Animation="SkeletonAnimation.Wave" Style="width: 200px; height: 20px;" />
Properties
Animation
Gets or sets the animation type for the skeleton.
Declaration
[Parameter]
public SkeletonAnimation Animation { get; set; }
Property Value
Type | Description |
---|---|
SkeletonAnimation | The animation. |
Variant
Gets or sets the type of skeleton shape.
Declaration
[Parameter]
public SkeletonVariant Variant { get; set; }
Property Value
Type | Description |
---|---|
SkeletonVariant | The type. |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenSkeleton component. Displays a loading placeholder with various animation types.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
GetComponentCssClass()
Gets the component CSS class.
Declaration
protected override string GetComponentCssClass()
Returns
Type | Description |
---|---|
string |
Overrides
GetStyle()
Gets the final style string including component-specific styles.
Declaration
protected string GetStyle()
Returns
Type | Description |
---|---|
string | The style string. |