New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Constructors

C#
public DropDownTree(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator, INavigationItemAuthorization authorization)
Parameters:viewContextViewContextinitializerIJavaScriptInitializerurlGeneratorIUrlGeneratorauthorizationINavigationItemAuthorization

Properties

Specifies the adaptive rendering of the component.

C#
public AdaptiveMode? AdaptiveMode { get; set; }

Allows customization of the subtitle's text in the adaptive view of the component.

C#
public string AdaptiveSubtitle { get; set; }

Allows customization of the title's text in the adaptive view of the component.

C#
public string AdaptiveTitle { get; set; }
C#
public PopupAnimation Animation { get; }
C#
public INavigationItemAuthorization Authorization { get; }

Implements: INavigationItemComponent<DropDownTreeItem>.Authorization

C#
public bool? AutoBind { get; set; }
C#
public bool? AutoClose { get; set; }
C#
public bool? AutoWidth { get; set; }
C#
public bool? CheckAll { get; set; }
C#
public string CheckAllTemplate { get; set; }
C#
public string CheckAllTemplateHandler { get; set; }
C#
public string CheckAllTemplateId { get; set; }
C#
public DropDownTreeCheckboxesSettings Checkboxes { get; set; }
C#
public bool? ClearButton { get; set; }
C#
public string DataImageUrlField { get; set; }
C#
public DataSource DataSource { get; }
C#
public string DataSourceId { get; set; }
C#
public string DataSpriteCssClassField { get; set; }
C#
public string DataTextField { get; set; }
C#
public List<string> DataTextFieldArray { get; set; }
C#
public string DataUrlField { get; set; }
C#
public string DataValueField { get; set; }
C#
public int? Delay { get; set; }
C#
public bool? Enabled { get; set; }
C#
public bool? EnforceMinLength { get; set; }

Sets a value controlling how the color is applied.

C#
public FillMode? FillMode { get; set; }
C#
public string Filter { get; set; }

When filtering is enabled, allows aria-label to be defined for the filter input element.

C#
public string FilterLabel { get; set; }
C#
public string FooterTemplate { get; set; }
C#
public string FooterTemplateHandler { get; set; }
C#
public string FooterTemplateId { get; set; }
C#
public string HeaderTemplate { get; set; }
C#
public string HeaderTemplateHandler { get; set; }
C#
public string HeaderTemplateId { get; set; }
C#
public string Height { get; set; }
C#
public bool? IgnoreCase { get; set; }

Gets or sets the item action.

C#
public Action<DropDownTreeItem> ItemAction { get; set; }

Implements: INavigationItemComponent<DropDownTreeItem>.ItemAction

Gets the items of the dropdowntree.

C#
public IList<DropDownTreeItem> Items { get; }

Implements: INavigationItemContainer<DropDownTreeItem>.Items

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.

C#
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.

C#
public DropDownTreeLoadOnDemandSettings LoadOnDemand { get; }
C#
public DropDownTreeMessagesSettings Messages { get; set; }
C#
public int? MinLength { get; set; }
C#
public string NoDataTemplate { get; set; }
C#
public string NoDataTemplateHandler { get; set; }
C#
public string NoDataTemplateId { get; set; }
C#
public string Placeholder { get; set; }
C#
public PopupSettings PopupSettings { get; set; }

Sets a value controlling the border radius.

C#
public Rounded? Rounded { get; set; }
C#
public SecurityTrimming SecurityTrimming { get; set; }

Implements: INavigationItemComponent<DropDownTreeItem>.SecurityTrimming

Sets the size of the component.

C#
public ComponentSize? Size { get; set; }
C#
public TagMode TagMode { get; set; }
C#
public string Template { get; set; }
C#
public string TemplateHandler { get; set; }
C#
public string TemplateId { get; set; }
C#
public string Text { get; set; }
C#
public IUrlGenerator UrlGenerator { get; }

Implements: INavigationItemComponent<DropDownTreeItem>.UrlGenerator

C#
public string Value { get; set; }

Gets or sets the value as enumerable.

C#
public IEnumerable ValueArray { get; set; }
C#
public bool? ValuePrimitive { get; set; }
C#
public string ValueTemplate { get; set; }
C#
public string ValueTemplateHandler { get; set; }
C#
public string ValueTemplateId { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Implements: IFormEditor.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The writer.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)