Class
MenuPopupSettingsBase

Defines the popup settings for the component.

Definition

Namespace:Telerik.Blazor.Components.Common.Menu

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class MenuPopupSettingsBase : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Inheritance: objectComponentBaseMenuPopupSettingsBase

Derived Classes: ContextMenuPopupSettingsMenuPopupSettings

Implements: IComponentIDisposableIHandleAfterRenderIHandleEvent

Inherited Members ComponentBase.BuildRenderTree(RenderTreeBuilder)ComponentBase.OnInitializedAsync()ComponentBase.OnParametersSet()ComponentBase.OnParametersSetAsync()ComponentBase.StateHasChanged()ComponentBase.ShouldRender()ComponentBase.OnAfterRender(bool)ComponentBase.OnAfterRenderAsync(bool)ComponentBase.InvokeAsync(Action)ComponentBase.InvokeAsync(Func<Task>)ComponentBase.SetParametersAsync(ParameterView)

Constructors

MenuPopupSettingsBase()

Declaration

cs-api-definition
public MenuPopupSettingsBase()

Properties

HorizontalCollision

Specifies the behavior of the Popup when it does not fit in the viewport. Valid values are: Flip - the popup will flip if there is sufficient available space on the opposite side. Fit - the popup will be shifted (moved) until it is fully visible. By default, the Popup fits horizontally when there is a collision.

Declaration

cs-api-definition
[Parameter]
public PopupCollision HorizontalCollision { get; set; }

Property Value

PopupCollision

VerticalCollision

Specifies the behavior of the Popup when it does not fit in the viewport. Valid values are: Flip - the popup will flip if there is sufficient available space on the opposite side. Fit - the popup will be shifted (moved) until it is fully visible. By default, the Popup flips vertically when there is a collision.

Declaration

cs-api-definition
[Parameter]
public PopupCollision VerticalCollision { get; set; }

Property Value

PopupCollision

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

OnInitialized()

Declaration

cs-api-definition
protected override void OnInitialized()

Overrides ComponentBase.OnInitialized()