ant-design-blazor/components/form/Internal/IForm.cs
RVS 04166ba276 feat(module: form): add IsModified property (#327)
* 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>
2020-07-12 00:17:02 +08:00

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();
}
}