mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
04166ba276
* feat: is form modified property and method exposed subject: new method for form context, Is form modified * fix: interface and doc Co-authored-by: Ratomir Vukadin <ratomirvu@maestralsolutions.com> Co-authored-by: James Yeung <shunjiey@hotmail.com>
27 lines
548 B
C#
27 lines
548 B
C#
using AntDesign.Forms;
|
|
using Microsoft.AspNetCore.Components.Forms;
|
|
|
|
namespace AntDesign.Internal
|
|
{
|
|
public interface IForm
|
|
{
|
|
internal ColLayoutParam WrapperCol { get; }
|
|
|
|
internal ColLayoutParam LabelCol { get; }
|
|
|
|
internal EditContext EditContext { get; }
|
|
|
|
internal string Size { get; }
|
|
|
|
internal void AddFormItem(IFormItem formItem);
|
|
|
|
internal void AddControl(IControlValueAccessor valueAccessor);
|
|
|
|
bool IsModified { get; }
|
|
|
|
void Reset();
|
|
|
|
bool Validate();
|
|
}
|
|
}
|