Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PreviewMargin - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PreviewMargin

    Defines the space around the symbol preview.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    Syncfusion.Blazor.SfBaseExtension
    PreviewMargin
    SymbolMargin
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PreviewMargin : SfBaseExtension

    Constructors

    PreviewMargin()

    Declaration
    public PreviewMargin()

    Properties

    Bottom

    It sets the space left at the bottom of a symbol preview. By default, it is set to 0.

    Declaration
    public Nullable<double> Bottom { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    jsProperty

    Declaration
    protected override string jsProperty { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    Syncfusion.Blazor.SfBaseExtension.jsProperty

    Left

    It sets the space left at the left of a symbol preview. By default, it is set to 0.

    Declaration
    public Nullable<double> Left { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    mainParent

    Defines the space around the symbol preview.

    Declaration
    protected override SfBaseExtension mainParent { get; set; }
    Property Value
    Type Description
    Syncfusion.Blazor.SfBaseExtension
    Overrides
    Syncfusion.Blazor.SfBaseExtension.mainParent

    Right

    It sets the space left at the right of a symbol preview. By default, it is set to 0.

    Declaration
    public Nullable<double> Right { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Top

    It sets the space left at the top of a symbol preview. By default, it is set to 0.

    Declaration
    public Nullable<double> Top { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Methods

    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

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved