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

Represents the settings of the DropDown in a RadSearchBox control.

Definition

Namespace:Telerik.Web.UI.SearchBox

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public sealed class DropDownSettings : ObjectWithState, IDisposable

Inheritance: objectObjectWithStateDropDownSettings

Implements: IDisposable

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()...

Properties

Gets or sets the HTML template of a drop down item when added on the client.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
public string ClientTemplate { get; set; }

Gets or sets the css class of the dropdown.

C#
public string CssClass { get; set; }
Property Value:

The dropdown CSS class.

Get a footer of RadSearchBox.

C#
[Browsable(false)]
public WebControl Footer { get; }

Gets or sets the ITemplate that defines the RadSearchBox footer template.

C#
[TemplateContainer(typeof(RadSearchBox))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public ITemplate FooterTemplate { get; set; }
Property Value:

The footer template.

Get a header of RadSearchBox.

C#
[Browsable(false)]
public WebControl Header { get; }

Gets or sets the ITemplate that defines the RadSearchBox header template.

C#
[TemplateContainer(typeof(RadSearchBox))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public ITemplate HeaderTemplate { get; set; }
Property Value:

The header template.

Gets or sets the height of the DropDown area.

C#
[TypeConverter(typeof(UnitConverter))]
public Unit Height { get; set; }
Property Value:

The height of the area.

Gets or sets the template for the items that appear in the dropdown.

C#
[TemplateContainer(typeof(DropDownItem))]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Browsable(false)]
[Bindable(false)]
public ITemplate ItemTemplate { get; set; }
Property Value:

An object implementing the ITemplate interface. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.

Gets or sets the width of the DropDown area.

C#
[TypeConverter(typeof(UnitConverter))]
public Unit Width { get; set; }
Property Value:

The width of the area.

Methods

C#
public void Dispose()

Implements: IDisposable.Dispose()