alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class BarcodeMargin

    Specifies the space to be left from the barcode.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    SfBaseComponent
    BarcodeMargin
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(bool)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnAfterRenderAsync(bool)
    SfBaseComponent.OnObservableChange(string, object, bool, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    Namespace: Syncfusion.Blazor.BarcodeGenerator
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class BarcodeMargin : SfBaseComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Examples
    <SfBarcodeGenerator Width="200" Height="150" Value="65213323" Type="BarcodeType.Code11" >
       <BarcodeMargin Left = "10" Top="10" Right="10" Bottom="10"></BarcodeMargin>
    </SfBarcodeGenerator>

    Constructors

    BarcodeMargin()

    Declaration
    public BarcodeMargin()

    Properties

    Bottom

    It sets the space to be left from the bottom side of the parent of an element. By default, it is set to 10.

    Declaration
    [Parameter]
    public double Bottom { get; set; }
    Property Value
    Type
    double

    Left

    It sets the space to be left from the left side of the parent of an element. By default, it is set to 10.

    Declaration
    [Parameter]
    public double Left { get; set; }
    Property Value
    Type
    double

    Right

    It sets the space to be left from the right side of the parent of an element. By default, it is set to 10.

    Declaration
    [Parameter]
    public double Right { get; set; }
    Property Value
    Type
    double

    Top

    It sets the space to be left from the top side of the parent of an element. By default, it is set to 10.

    Declaration
    [Parameter]
    public double Top { get; set; }
    Property Value
    Type
    double

    Methods

    OnInitializedAsync()

    OnInitializedAsync is invoked when the component is initialized.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Sets the parameters for the QRCodeTextMargin component in the render tree.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnParametersSetAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved