Class
SpreadsheetDropDownListTool

Base class for Editor tools that are dropdownbuttons.

Definition

Namespace:Telerik.Blazor.Components.Spreadsheet.ToolBar.ToolTypes

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public abstract class SpreadsheetDropDownListTool : SpreadsheetInputTool

Inheritance: objectSpreadsheetToolSpreadsheetCommandToolSpreadsheetInputToolSpreadsheetDropDownListTool

Derived Classes: SpreadsheetFontFamilyToolSpreadsheetFontSizeTool

Constructors

SpreadsheetDropDownListTool()

Declaration

cs-api-definition
protected SpreadsheetDropDownListTool()

Properties

Data

The data source for the dropdown.

Declaration

cs-api-definition
public List<SpreadsheetDropDownListToolItem> Data { get; set; }

Property Value

List<SpreadsheetDropDownListToolItem>

DefaultText

Renders when no item is selected.

Declaration

cs-api-definition
public string DefaultText { get; set; }

Property Value

string

FooterTemplate

Footer template for the dropdown.

Declaration

cs-api-definition
public RenderFragment FooterTemplate { get; set; }

Property Value

RenderFragment

HeaderTemplate

Header template for the dropdown.

Declaration

cs-api-definition
public RenderFragment HeaderTemplate { get; set; }

Property Value

RenderFragment

ItemTemplate

Template for the dropdown items.

Declaration

cs-api-definition
public RenderFragment<SpreadsheetDropDownListToolItem> ItemTemplate { get; set; }

Property Value

RenderFragment<SpreadsheetDropDownListToolItem>

OnChange

Fires when selection happens.

Declaration

cs-api-definition
public EventCallback<object> OnChange { get; set; }

Property Value

EventCallback<object>

PopupHeight

Height of the dropdown.

Declaration

cs-api-definition
public string PopupHeight { get; set; }

Property Value

string

PopupWidth

Width of the dropdown.

Declaration

cs-api-definition
public string PopupWidth { get; set; }

Property Value

string

ValueTemplate

Template that renders in the main element for the selected item.

Declaration

cs-api-definition
public RenderFragment<SpreadsheetDropDownListToolItem> ValueTemplate { get; set; }

Property Value

RenderFragment<SpreadsheetDropDownListToolItem>

Width

Declaration

cs-api-definition
public string Width { get; set; }

Property Value

string