5e3e535139
- Aggiornato tipi misure negli split (sia verticale sia orizzontale) - Aggiornati commenti
41 lines
973 B
C#
41 lines
973 B
C#
using Microsoft.AspNetCore.Components;
|
|
using WebWindowComplex.Models;
|
|
|
|
namespace WebWindowComplex.Compo
|
|
{
|
|
public partial class EditFrameDimensions
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Frame dimension corrente
|
|
/// </summary>
|
|
[Parameter]
|
|
public FrameDimension CurrRec { get; set; } = null!;
|
|
|
|
[Parameter]
|
|
public EventCallback<FrameDimension> EC_Update { get; set; }
|
|
|
|
#endregion Public Properties
|
|
|
|
#region Private Properties
|
|
|
|
/// <summary>
|
|
/// Metodo per aggiornare valore dimension
|
|
/// </summary>
|
|
private double CurrVal
|
|
{
|
|
get => CurrRec.dValue;
|
|
set
|
|
{
|
|
if (CurrRec.dValue != value)
|
|
{
|
|
CurrRec.dValue = value;
|
|
_ = EC_Update.InvokeAsync(CurrRec);
|
|
}
|
|
}
|
|
}
|
|
|
|
#endregion Private Properties
|
|
}
|
|
} |