Skip to main content

DynamicModalLookup

Dynamic Modal Lookup for selecting Referential Data

Assembly: ServiceStack.Blazor.dll
View Source
Declaration
public class DynamicModalLookup : UiComponentBase

Properties

Id

View Source
Declaration
public string Id { get; set; }

AppMetadata

View Source
Declaration
public AppMetadata AppMetadata { get; set; }

RefInfo

View Source
Declaration
public RefInfo RefInfo { get; set; }

Show

View Source
Declaration
public bool Show { get; set; }

RowSelected

View Source
Declaration
public EventCallback<object> RowSelected { get; set; }

Close

View Source
Declaration
public EventCallback Close { get; set; }

Initialized

View Source
Declaration
public EventCallback<ModalLookup> Initialized { get; set; }

ModalLookup

View Source
Declaration
public ModalLookup ModalLookup { get; set; }

Inherited Properties

class

Optional user defined classes for this component

View Source
Declaration
public string class { get; set; }

Class

View Source
Declaration
public string Class { get; }

JS

View Source
Declaration
public IJSRuntime JS { get; set; }

Methods

OnInitialized()

View Source
Declaration
protected override void OnInitialized()

OpenAsync(RefInfo, Func<Object, Task>)

View Source
Declaration
public async Task OpenAsync(RefInfo refInfo, Func<object, Task> callback)
Returns

Task

Parameters
TypeName
ServiceStack.RefInforefInfo
Func<System.Object,Task>callback

BuildRenderTree(RenderTreeBuilder)

View Source
Declaration
protected override void BuildRenderTree(RenderTreeBuilder builder)
Parameters
TypeName
RenderTreeBuilderbuilder

Inherited Methods

ClassNames(String[])

Helper to combine multiple css classes. Strings can contain multiple classes, empty strings are ignored.

View Source
Declaration
protected virtual string ClassNames(params string[] classes)
Returns

System.String

Parameters
TypeName
System.String[]classes

CssClass(String, String)

Return any user-defined classes along with optional classes for when component is in a valid or invalid state

View Source
Declaration
protected virtual string CssClass(string valid = null, string invalid = null)
Returns

System.String

Parameters
TypeNameDescription
System.Stringvalidcss classes to include when valid

| | System.String | invalid | css classes to include when invalid

|

OnAfterRenderAsync(Boolean)

View Source
Declaration
protected override async Task OnAfterRenderAsync(bool firstRender)
Returns

Task

Parameters
TypeName
System.BooleanfirstRender

QueueRenderAction(Func<IJSRuntime, Task>)

View Source
Declaration
protected virtual void QueueRenderAction(Func<IJSRuntime, Task> action)
Parameters
TypeName
Func<IJSRuntime,Task>action

SanitizeAttribute(String)

View Source
Declaration
public static bool SanitizeAttribute(string name)
Returns

System.Boolean

Parameters
TypeName
System.Stringname

SanitizeAttributes(Nullable<IReadOnlyDictionary<String, Object>>)

View Source
Declaration
public static IReadOnlyDictionary<string, object>? SanitizeAttributes(IReadOnlyDictionary<string, object>? attrs)
Returns

System.Nullable<IReadOnlyDictionary<System.String,System.Object>>

Parameters
TypeName
System.Nullable<IReadOnlyDictionary<System.String,System.Object>>attrs

SetTitle(String)

Set the document.title

View Source
Declaration
protected virtual void SetTitle(string title)
Parameters
TypeName
System.Stringtitle