FieldAttribute
Customize a Form Field and HTML Input for a Type's Property
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class FieldAttribute : InputAttributeBase, _Attribute, IReflectAttributeFilter
Properties
Name
View Source
Declaration
public string Name { get; set; }
FieldCss
View Source
Declaration
public string FieldCss { get; set; }
InputCss
View Source
Declaration
public string InputCss { get; set; }
LabelCss
View Source
Declaration
public string LabelCss { get; set; }
Inherited Properties
Accept
View Source
Declaration
public string Accept { get; set; }
AllowableValues
View Source
Declaration
public string[] AllowableValues { get; set; }
Autocomplete
View Source
Declaration
public string Autocomplete { get; set; }
Autofocus
View Source
Declaration
public string Autofocus { get; set; }
Capture
View Source
Declaration
public string Capture { get; set; }
Disabled
View Source
Declaration
public bool Disabled { get; set; }
EvalAllowableEntries
View Source
Declaration
public string EvalAllowableEntries { get; set; }
EvalAllowableValues
View Source
Declaration
public string EvalAllowableValues { get; set; }
Help
View Source
Declaration
public string Help { get; set; }
Ignore
View Source
Declaration
public bool Ignore { get; set; }
Label
View Source
Declaration
public string Label { get; set; }
Max
View Source
Declaration
public string Max { get; set; }
MaxLength
View Source
Declaration
public int MaxLength { get; set; }
Min
View Source
Declaration
public string Min { get; set; }
MinLength
View Source
Declaration
public int MinLength { get; set; }
Multiple
View Source
Declaration
public bool Multiple { get; set; }
Options
View Source
Declaration
public string Options { get; set; }
Pattern
View Source
Declaration
public string Pattern { get; set; }
Placeholder
View Source
Declaration
public string Placeholder { get; set; }
ReadOnly
View Source
Declaration
public bool ReadOnly { get; set; }
Required
View Source
Declaration
public bool Required { get; set; }
Size
View Source
Declaration
public string Size { get; set; }
Step
View Source
Declaration
public int Step { get; set; }
Title
View Source
Declaration
public string Title { get; set; }
Type
View Source
Declaration
public string Type { get; set; }
Value
View Source
Declaration
public string Value { get; set; }
Implements
System.Runtime.InteropServices._Attribute
- ServiceStack.IReflectAttributeFilter