using System.Web.UI.WebControls;
using System.Security.Permissions;
namespace System.Web.DynamicData {
///
/// Interface implemented by the object that drives field template. Typically, this is the DynamicControl.
///
public interface IFieldTemplateHost {
///
/// The MetaColumn for which the field template is needed
///
MetaColumn Column { get; }
///
/// The mode (Readonly, Edit, Insert) for which the field template is needed
///
DataBoundControlMode Mode { get; }
///
/// The various formatting options that should be applied to the field template
///
IFieldFormattingOptions FormattingOptions { get; }
///
/// The validation group that the field template need to be in
///
string ValidationGroup { get; }
}
}