Class SymbolPaletteSymbolPreview
Defines the appearance of the symbols on preview(before dragging into the diagram).
Inheritance
System.Object
Syncfusion.Blazor.SfBaseComponent
Syncfusion.Blazor.SfBaseExtension
SymbolPaletteSymbolPreview
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class SymbolPaletteSymbolPreview : SfBaseExtension
Examples
<SfSymbolPalette>
<SymbolPaletteSymbolPreview Height = "100" Width="100">
<SymbolPreviewOffset X = "0.5" Y="0.5"></SymbolPreviewOffset>
</SymbolPaletteSymbolPreview>
</SfSymbolPalette>
Constructors
SymbolPaletteSymbolPreview()
Declaration
public SymbolPaletteSymbolPreview()
Properties
ChildContent
Represents a segment of UI content, implemented.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment |
Height
Defines the height of the symbols before drag. By default, the height is null.
Declaration
public double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
jsProperty
Declaration
protected override string jsProperty { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Syncfusion.Blazor.SfBaseExtension.jsProperty
mainParent
Declaration
protected override SfBaseExtension mainParent { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Blazor.SfBaseExtension |
Overrides
Syncfusion.Blazor.SfBaseExtension.mainParent
Offset
Defines the distance between the symbol and the cursor.
Declaration
public SymbolPreviewOffset Offset { get; set; }
Property Value
Type | Description |
---|---|
SymbolPreviewOffset |
Width
Defines the width of the symbols before drag. By default, the width is null.
Declaration
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose()
Declaration
public override void Dispose()
Overrides
Syncfusion.Blazor.SfBaseExtension.Dispose()
GetJSNamespace()
Declaration
public string GetJSNamespace()
Returns
Type | Description |
---|---|
System.String | Get the parent namespaces |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Returns asynchronous operation when the component is ready to start, having received its initial parameters from its parent in the render tree |
Overrides
Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | Returns asynchronous operation when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties |
updateChildProperties(String, Object)
Declaration
public void updateChildProperties(string key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | |
System.Object | value |