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

Represents the settings of the buttons in a RadListBox controls.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public sealed class ListBoxButtonSettings : ObjectWithState

Inheritance: objectObjectWithStateListBoxButtonSettings

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

Properties

Gets or sets the height of the button area.

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

The height of the area. The default value is 30px

The AreaWidth property is taken into consideration only if the Position property is set to Top or Bottom. If not the button area is as tall as the listbox control.

Gets or sets the width of the button area.

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

The width of the area. The default value is 30px.

The AreaWidth property is taken into consideration only if the Position property is set to Left or Right. If not the button area is as wide as the listbox control.

Gets or sets the horizontal align of the buttons within the button area.

C#
public ListBoxHorizontalAlign HorizontalAlign { get; set; }
Property Value:

The horizontal align. The default value is Left

The HorizontalAlign property is taken into consideration only if the Position property is set to Top or Bottom.

Gets or sets the position of the buttons.

C#
public ListBoxButtonPosition Position { get; set; }
Property Value:

The position of the buttons. The default value is Right.

When set to true enables render text on buttons functionality

C#
public bool RenderButtonText { get; set; }

Gets or sets a value that specifies which reorder buttons should be rendered.

C#
[Browsable(true)]
[Bindable(false)]
public ListBoxReorderButtons ReorderButtons { get; set; }
Property Value:

The reorder buttons mode. The default value is Common

A value that specifies which reorder buttons should be rendered. Members might be combined using bitwise operators allowing for custom configurations.

Gets or sets a value indicating whether to display the "delete" button.

C#
public bool ShowDelete { get; set; }
Property Value:

true if the "delete" button should be displayed; otherwise, false.

RadListBox displays the "delete" button when the ShowDelete and AllowDelete properties are both set to true.

Gets or sets a value indicating whether to display the "reorder" buttons.

C#
public bool ShowReorder { get; set; }
Property Value:

true if the "reorder" buttons should be displayed; otherwise, false.

RadListBox displays the "reorder" buttons when the ShowReorder and AllowReorder properties are both set to true.

Gets or sets a value indicating whether to display the "transfer" buttons.

C#
public bool ShowTransfer { get; set; }
Property Value:

true if the "transfer" buttons should be displayed; otherwise, false.

RadListBox displays the "transfer" buttons when the ShowTransfer and AllowTransfer properties are both set to true.

Gets or sets a value indicating whether to display the "transfer all" buttons.

C#
public bool ShowTransferAll { get; set; }
Property Value:

true if the "transfer all" buttons should be displayed; otherwise, false.

RadListBox displays the "transfer all" buttons when the ShowTransferAll and AllowTransfer properties are both set to true.

Gets or sets a value that specifies which transfer buttons should be rendered.

C#
[Browsable(true)]
[Bindable(false)]
public ListBoxTransferButtons TransferButtons { get; set; }
Property Value:

The transfer buttons mode. The default value is All

A value that specifies which transfer buttons should be rendered. Members might be combined using bitwise operators allowing for custom configurations.

Gets or sets the vertical align of the buttons in the within the button area.

C#
public ListBoxVerticalAlign VerticalAlign { get; set; }
Property Value:

The vertical align. The default value is Top

The VerticalAlign property is taken into consideration only if the Position property is set to Left or Right.