DropDownTree
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DropDownTree : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent, INavigationItemComponent<DropDownTreeItem>, INavigationItemContainer<DropDownTreeItem>, IFormEditor
Inheritance: objectWidgetBaseDropDownTree
Implements:
Inherited Members
Constructors
public DropDownTree(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization)
Properties
Specifies the adaptive rendering of the component.
public AdaptiveMode? AdaptiveMode { get; set; }
Allows customization of the subtitle's text in the adaptive view of the component.
public string AdaptiveSubtitle { get; set; }
Allows customization of the title's text in the adaptive view of the component.
public string AdaptiveTitle { get; set; }
public PopupAnimation Animation { get; }
public INavigationItemAuthorization Authorization { get; }
Implements:
public string CheckAllTemplate { get; set; }
public string CheckAllTemplateHandler { get; set; }
public string CheckAllTemplateId { get; set; }
public DropDownTreeCheckboxesSettings Checkboxes { get; set; }
public bool? ClearButton { get; set; }
public string DataImageUrlField { get; set; }
public DataSource DataSource { get; }
public string DataSourceId { get; set; }
public string DataSpriteCssClassField { get; set; }
public string DataTextField { get; set; }
public List<string> DataTextFieldArray { get; set; }
public string DataUrlField { get; set; }
public string DataValueField { get; set; }
public bool? EnforceMinLength { get; set; }
Sets a value controlling how the color is applied.
public FillMode? FillMode { get; set; }
When filtering is enabled, allows aria-label to be defined for the filter input element.
public string FilterLabel { get; set; }
public string FooterTemplate { get; set; }
public string FooterTemplateHandler { get; set; }
public string FooterTemplateId { get; set; }
public string HeaderTemplate { get; set; }
public string HeaderTemplateHandler { get; set; }
public string HeaderTemplateId { get; set; }
public bool? IgnoreCase { get; set; }
Gets or sets the item action.
public Action<DropDownTreeItem> ItemAction { get; set; }
Implements:
Gets the items of the dropdowntree.
public IList<DropDownTreeItem> Items { get; }
Implements:
Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.
public DropDownTreeLabelSettings Label { get; set; }
Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to true causes loading the child DataSources when expanding the parent node.
public DropDownTreeLoadOnDemandSettings LoadOnDemand { get; }
public DropDownTreeMessagesSettings Messages { get; set; }
public string NoDataTemplate { get; set; }
public string NoDataTemplateHandler { get; set; }
public string NoDataTemplateId { get; set; }
public string Placeholder { get; set; }
public PopupSettings PopupSettings { get; set; }
public SecurityTrimming SecurityTrimming { get; set; }
Implements:
Sets the size of the component.
public ComponentSize? Size { get; set; }
public string TemplateHandler { get; set; }
public string TemplateId { get; set; }
public IUrlGenerator UrlGenerator { get; }
Implements:
Gets or sets the value as enumerable.
public IEnumerable ValueArray { get; set; }
public bool? ValuePrimitive { get; set; }
public string ValueTemplate { get; set; }
public string ValueTemplateHandler { get; set; }
public string ValueTemplateId { get; set; }
Methods
public override IDictionary<string, object> Serialize()
Overrides:
Implements:
Writes the HTML.
protected override void WriteHtml(HtmlTextWriter writer)
Overrides:
Writes the initialization script.
public override void WriteInitializationScript(TextWriter writer)
The writer.
Overrides: