alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class InPlaceEditorPopupSettings

    Configures the properties for customizing the popup mode of the Syncfusion.Blazor.InPlaceEditor.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    InPlaceEditorPopupSettings
    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.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    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
    Namespace: Syncfusion.Blazor.InPlaceEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class InPlaceEditorPopupSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    This class allows you to define settings such as animation, position, and dimensions for the popup editor.

    Examples

    A simple In-place Editor component with popup settings.

    <SfInPlaceEditor Mode="RenderMode.Popup">
        <InPlaceEditorPopupSettings Title="Enter Name" />
    </SfInPlaceEditor>

    Constructors

    InPlaceEditorPopupSettings()

    Declaration
    public InPlaceEditorPopupSettings()

    Properties

    Animation

    Gets or sets the animation settings for opening and closing the popup.

    Declaration
    [Parameter]
    public AnimationModel Animation { get; set; }
    Property Value
    Type Description
    AnimationModel

    An AnimationModel object that defines the delay, duration, and effect for the popup animation.

    Remarks

    By default, the popup opens and closes with a fade effect.

    CloseDelay

    Gets or sets the duration in milliseconds to wait before closing the popup.

    Declaration
    [Parameter]
    public int CloseDelay { get; set; }
    Property Value
    Type Description
    int

    An int representing the delay in milliseconds. The default value is 0.

    CssClass

    Gets or sets a user-defined CSS class to customize the popup's appearance.

    Declaration
    [Parameter]
    public string CssClass { get; set; }
    Property Value
    Type Description
    string

    A string representing the CSS class. The default value is null.

    Height

    Gets or sets the height of the popup.

    Declaration
    [Parameter]
    public string Height { get; set; }
    Property Value
    Type Description
    string

    A string that specifies the height. The default value is "auto".

    HtmlAttributes

    Gets or sets a collection of additional HTML attributes to be applied to the popup element.

    Declaration
    [Parameter(CaptureUnmatchedValues = true)]
    public Dictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type Description
    Dictionary<string, object>

    A Dictionary<TKey, TValue> where the key is a string representing the attribute name and the value is an object representing the attribute value.

    IsSticky

    Gets or sets a value indicating whether to keep the popup open until it is manually closed.

    Declaration
    [Parameter]
    public bool IsSticky { get; set; }
    Property Value
    Type Description
    bool

    true to freeze the popup in an open state; otherwise, false. The default value is false.

    OffsetX

    Gets or sets the horizontal distance between the target element and the popup.

    Declaration
    [Parameter]
    public int OffsetX { get; set; }
    Property Value
    Type Description
    int

    An int representing the X-coordinate offset. The default value is 0.

    OffsetY

    Gets or sets the vertical distance between the target element and the popup.

    Declaration
    [Parameter]
    public int OffsetY { get; set; }
    Property Value
    Type Description
    int

    An int representing the Y-coordinate offset. The default value is 0.

    OpenDelay

    Gets or sets the duration in milliseconds to wait before opening the popup.

    Declaration
    [Parameter]
    public int OpenDelay { get; set; }
    Property Value
    Type Description
    int

    An int representing the delay in milliseconds. The default value is 0.

    OpensOn

    Gets or sets the event that triggers the popup to open.

    Declaration
    [Parameter]
    public OpenType OpensOn { get; set; }
    Property Value
    Type Description
    OpenType

    An OpenType enum value. The available modes are Auto, Hover, Click, Focus, and Custom.

    Position

    Gets or sets the position of the popup relative to the target element.

    Declaration
    [Parameter]
    public Position Position { get; set; }
    Property Value
    Type Description
    Position

    A Position enum value. The default is TopCenter.

    ShowTipPointer

    Gets or sets a value indicating whether to display a tip pointer on the popup.

    Declaration
    [Parameter]
    public bool ShowTipPointer { get; set; }
    Property Value
    Type Description
    bool

    true to show the tip pointer; otherwise, false. The default value is true.

    TipPointerPosition

    Gets or sets the position of the tip pointer on the popup.

    Declaration
    [Parameter]
    public TipPointerPosition TipPointerPosition { get; set; }
    Property Value
    Type Description
    TipPointerPosition

    A TipPointerPosition enum value. The available options are Auto, Start, Middle, and End.

    Remarks

    When set to Auto, the tip pointer adjusts its position automatically based on the available space around the target.

    Title

    Gets or sets the title displayed in the popup header.

    Declaration
    [Parameter]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    A string representing the title text. The default value is null.

    Width

    Gets or sets the width of the popup.

    Declaration
    [Parameter]
    public string Width { get; set; }
    Property Value
    Type Description
    string

    A string representing the width. The default value is "auto".

    Remarks

    When set to "auto", the popup width adjusts to fit its content within the viewable screen area.

    Methods

    Dispose()

    Releases the unmanaged resources used by the component.

    Declaration
    public virtual void Dispose()

    Dispose(bool)

    Releases the unmanaged resources used by the component and optionally releases the managed resources.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Overrides
    OwningComponentBase.Dispose(bool)

    OnParametersSetAsync()

    A protected method that is invoked when the component has received parameters from its parent component.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    Task

    A Task representing the asynchronous operation.

    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