ClassDiagramShapeDefaults
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
DiagramShapeDefaults()
Declaration
public DiagramShapeDefaults()
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
CornerRadius
Defines the shape corner radius.
Declaration
[Parameter]
public double? CornerRadius { get; set; }
Property Value
Height
Defines the default height of shapes in the Diagram.
Declaration
[Parameter]
public double? Height { get; set; }
Property Value
MinHeight
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.
Declaration
[Parameter]
public double? MinHeight { get; set; }
Property Value
MinWidth
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.
Declaration
[Parameter]
public double? MinWidth { get; set; }
Property Value
Path
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.").
Selectable
Specifies if Diagram shapes can be selected.
Declaration
[Parameter]
public bool? Selectable { get; set; }
Property Value
bool?
Source
The path/URL to the shape image. Applicable when the type is set to "image".
Type
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.
Declaration
[Parameter]
public DiagramShapeType? Type { get; set; }
Property Value
Visual
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.
Width
Defines the default width of shapes in the Diagram.
X
Defines the x-coordinate of shapes added to the Diagram.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnAfterRender(bool)
Declaration
protected override void OnAfterRender(bool firstRender)
Parameters
firstRender
Overrides
OnInitialized()
Declaration
protected override void OnInitialized()
Overrides
OnParametersSet()
Declaration
protected override void OnParametersSet()
Overrides
Serialize()
Declaration
public Dictionary<string, object> Serialize()
Returns