49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
using Microsoft.AspNetCore.Components;
|
|
using WebWindowComplex.Models;
|
|
|
|
namespace WebWindowComplex.Compo
|
|
{
|
|
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_AddSplit { 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 RaiseAddSplit()
|
|
{
|
|
await EC_AddSplit.InvokeAsync(true);
|
|
}
|
|
|
|
#endregion Private Methods
|
|
}
|
|
} |