mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Including Orchard.Fields
--HG-- branch : 1.x
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
namespace Orchard.Fields.Settings {
|
||||
|
||||
public enum ListMode {
|
||||
Dropdown,
|
||||
Radiobutton,
|
||||
Listbox,
|
||||
Checkbox
|
||||
}
|
||||
|
||||
public class EnumerationFieldSettings {
|
||||
public string Hint { get; set; }
|
||||
public bool Required { get; set; }
|
||||
public string Options { get; set; }
|
||||
public ListMode ListMode { get; set; }
|
||||
|
||||
public EnumerationFieldSettings() {
|
||||
ListMode = ListMode.Dropdown;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user