[]
        
(Showing Draft Content)

C1.Blazor.Ribbon.C1SelectTool

C1SelectTool Class

Tool that offers a list of values that can be selected.

Inheritance
C1SelectTool
Namespace: C1.Blazor.Ribbon
Assembly: C1.Blazor.Ribbon.dll
Syntax
public class C1SelectTool : C1Tool, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent
Public Class C1SelectTool
    Inherits C1Tool
    Implements IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable, IComponent

Constructors

Name Description
C1SelectTool()

Initializes a new instance of the C1SelectTool class.

Fields

Name Description
ItemTemplateProperty

Identifies the ItemTemplate dependency property.

ItemsSourceProperty

Identifies the ItemsSource dependency property.

PopupStyleProperty

Identifies the PopupStyle dependency property.

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

SelectedItemProperty

Identifies the SelectedItem dependency property.

Properties

Name Description
IsEditable

Gets whether the tool is editable and can get the keyboard focus to enter text.

ItemTemplate

Gets or sets the template of the items.

ItemsSource

Gets or sets the items displayed in the list.

PopupStyle

Gets or sets the style of the popup.

SelectedIndex

Gets or sets the index of the selected item.

SelectedIndexChanged

Gets or sets the callback called when the SelectedIndex property has changed.

SelectedItem

Gets or sets the selected item.

SelectedItemChanged

Gets or sets the callback called when the SelectedItem property has changed.

Methods

Name Description
Dispose(bool)
Execute(object)

Called when the tool is executed.

GetContentRenderFragment(C1Style)

Returns a RenderFragment that represents the tool's UI content.

OnAfterRender(bool)