Controls the fill color and appearance inside a diagram shape. Use this to set solid colors, gradients, or patterns for the shape's interior background. Example: "#E74C3C" for a solid red fill, or configure gradients for visual depth and dimension.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
C#
public class DiagramShapeFillDescriptor : DataVizChildComponentDescriptor
Inheritance: objectDataVizChildComponentDescriptorDiagramShapeFillDescriptor
Constructors
C#
public DiagramShapeFillDescriptor()
Methods
Properties
Sets the background fill color of the shape. Use any valid CSS color value such as hex codes (e.g., "#FF5733"), color names (e.g., "red"), or rgba values. This property defines the interior color of the shape, distinct from the border color set by Color.
C#
public string Color { get; set; }