Files
webwindowconfigurator/WebWindowComplex/AreaFrame.razor.cs
T
Samuele Locatelli bd8aa4b025 Modifica fix rimozione/riaggiunta finestra
Estratto componente AreaFrame
2025-10-10 11:48:36 +02:00

48 lines
1.1 KiB
C#

using Microsoft.AspNetCore.Components;
namespace WebWindowComplex
{
public partial class AreaFrame
{
#region Public Properties
[Parameter]
public Frame CurrFrameWindow { get; set; } = null!;
[Parameter]
public List<Sash> CurrSashList { get; set; } = null!;
[Parameter]
public List<Split> CurrSplitList { get; set; } = null!;
[Parameter]
public EventCallback<bool> EC_AddSash { get; set; }
[Parameter]
public EventCallback<bool> EC_AddWindow { get; set; }
#endregion Public Properties
#region Private Methods
/// <summary>
/// Sollevo evento richiesta aggiunta sash
/// </summary>
/// <returns></returns>
private async Task RaiseAddSash()
{
await EC_AddSash.InvokeAsync(true);
}
/// <summary>
/// Sollevo evento richiesta aggiunta window
/// </summary>
/// <returns></returns>
private async Task RaiseAddWindow()
{
await EC_AddWindow.InvokeAsync(true);
}
#endregion Private Methods
}
}