bd8aa4b025
Estratto componente AreaFrame
48 lines
1.1 KiB
C#
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
|
|
}
|
|
} |