Table of Contents

Class AutoComplete

Namespace
Oqtane.Modules.Controls
Assembly
Oqtane.Client.dll
public class AutoComplete : LocalizableComponent, IModuleControl
Inheritance
object
ComponentBase
AutoComplete
Implements
Inherited Members

Properties

Characters

[Parameter]
public int Characters { get; set; }

Property Value

int

Key

[Parameter]
public string Key { get; set; }

Property Value

string

OnSearch

[Parameter]
public Func<string, Task<Dictionary<string, string>>> OnSearch { get; set; }

Property Value

Func<string, Task<Dictionary<string, string>>>

Placeholder

[Parameter]
public string Placeholder { get; set; }

Property Value

string

Required

[Parameter]
public bool Required { get; set; }

Property Value

bool

Rows

[Parameter]
public int Rows { get; set; }

Property Value

int

Value

[Parameter]
public string Value { get; set; }

Property Value

string

Methods

BuildRenderTree(RenderTreeBuilder)

Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.

protected override void BuildRenderTree(RenderTreeBuilder __builder)

Parameters

__builder RenderTreeBuilder

Clear()

public void Clear()

OnParametersSet()

Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.

protected override void OnParametersSet()