Class SkeletonType
Defines the shape of the Skeleton.
Inheritance
Namespace: Syncfusion.Blazor.Notifications
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class SkeletonType : Enum
Remarks
The shape determines the visual appearance of the skeleton placeholder and affects how dimensions are applied. Circle and Square shapes use only the Width property for sizing, while Text and Rectangle shapes use both Width and Height.
Fields
Circle
Defines the Skeleton shape as circle.
Declaration
public const SkeletonType Circle
Field Value
Type |
---|
SkeletonType |
Remarks
Creates a circular placeholder where the Width property determines the diameter. The Height property is ignored for this shape.
Rectangle
Defines the Skeleton shape as rectangle.
Declaration
public const SkeletonType Rectangle
Field Value
Type |
---|
SkeletonType |
Remarks
Creates a rectangular placeholder with custom dimensions. Both Width and Height properties are used for precise dimensioning.
Square
Defines the Skeleton shape as square.
Declaration
public const SkeletonType Square
Field Value
Type |
---|
SkeletonType |
Remarks
Creates a square placeholder where the Width property determines both width and height. The Height property is ignored for this shape.
Text
Defines the Skeleton shape as text.
Declaration
public const SkeletonType Text
Field Value
Type |
---|
SkeletonType |
Remarks
Creates a rectangular placeholder typically used for text content. Both Width and Height properties are used for dimensioning.