Files
webwindowconfigurator/WebWindowComplex/Compo/EditJoint.razor.cs
T
2025-10-13 16:30:30 +02:00

35 lines
797 B
C#

using Microsoft.AspNetCore.Components;
using WebWindowComplex.Models;
namespace WebWindowComplex.Compo
{
public partial class EditJoint
{
#region Public Properties
[Parameter]
public Joint CurrRec { get; set; } = null!;
[Parameter]
public EventCallback<Joint> EC_Update { get; set; }
#endregion Public Properties
#region Private Properties
private int CurrVal
{
get => CurrRec.SelJointTypeIndex;
set
{
if (CurrRec.SelJointTypeIndex != value)
{
CurrRec.SelJointTypeIndex = value;
_ = EC_Update.InvokeAsync(CurrRec);
}
}
}
#endregion Private Properties
}
}