DiagramShapeDefaults
Telerik UI DiagramShapeDefaults.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class DiagramShapeDefaults : DataVizChildComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseDataVizChildComponentDiagramShapeDefaults
Implements:
Inherited Members
Constructors
public DiagramShapeDefaults()
Methods
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Overrides:
protected override void OnInitialized()
Overrides:
protected override void OnParametersSet()
Overrides:
Properties
[Parameter]
public RenderFragment ChildContent { get; set; }
Defines the shape corner radius.
[Parameter]
public double? CornerRadius { get; set; }
Defines the default height of shapes in the Diagram.
[Parameter]
public double? Height { get; set; }
Defines the minimum height the shape can have. Use this setting to apply a lower limit to the height of shapes when users resize them.
[Parameter]
public double? MinHeight { get; set; }
Defines the minimum width the shape can have. Use this setting to apply a lower limit to the width of shapes when users resize them.
[Parameter]
public double? MinWidth { get; set; }
The path option of a Shape is a description of a custom geometry. The format follows the standard SVG format (https://www.w3.org/TR/SVG/paths.html#PathData "SVG Path data.").
[Parameter]
public string Path { get; set; }
Specifies if Diagram shapes can be selected.
[Parameter]
public bool? Selectable { get; set; }
The path/URL to the shape image. Applicable when the type is set to "image".
[Parameter]
public string Source { get; set; }
Specifies the type of the Shape using any of the built-in shape type. "rectangle": this is the default option; "circle": a circle/ellipse; "image": an image or "text": some text.
[Parameter]
public DiagramShapeType? Type { get; set; }
A function that returns a visual element to render for a given shape. The following primitives can be used to construct a composite visual: Circle; Rectangle; Path; Line; Polyline; TextBlock; Image or Layout.
[Parameter]
public string Visual { get; set; }
Defines the default width of shapes in the Diagram.
[Parameter]
public double? Width { get; set; }
Defines the x-coordinate of shapes added to the Diagram.
[Parameter]
public double? X { get; set; }