using Microsoft.AspNetCore.Components; using WebWindowTest.Models; namespace WebWindowTest.Compo { public partial class AreaFrame { #region Public Properties [Parameter] public Frame CurrFrameWindow { get; set; } = null!; [Parameter] public List CurrSashList { get; set; } = null!; [Parameter] public List CurrSplitList { get; set; } = null!; [Parameter] public EventCallback EC_AddSash { get; set; } [Parameter] public EventCallback EC_AddSplit { get; set; } #endregion Public Properties #region Private Methods /// /// Sollevo evento richiesta aggiunta sash /// /// private async Task RaiseAddSash() { await EC_AddSash.InvokeAsync(true); } /// /// Sollevo evento richiesta aggiunta window /// /// private async Task RaiseAddSplit() { await EC_AddSplit.InvokeAsync(true); } #endregion Private Methods } }