GeoBlazor Pro

dymaptic.GeoBlazor.Pro

dymaptic.GeoBlazor.Pro.Components

PrintViewModelTemplatesInfoLayout Class

public class PrintViewModelTemplatesInfoLayout : dymaptic.GeoBlazor.Core.Components.MapComponent

Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 PrintViewModelTemplatesInfoLayout

Constructors

PrintViewModelTemplatesInfoLayout() Constructor

Parameterless constructor for use as a Razor Component.

public PrintViewModelTemplatesInfoLayout();

PrintViewModelTemplatesInfoLayout(IReadOnlyList, string) Constructor

Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.

public PrintViewModelTemplatesInfoLayout(System.Collections.Generic.IReadOnlyList<string>? choiceList=null, string? defaultValue=null);

Parameters

choiceList System.Collections.Generic.IReadOnlyList<System.String>

defaultValue System.String

Properties

PrintViewModelTemplatesInfoLayout.ChoiceList Property

public System.Collections.Generic.IReadOnlyList<string>? ChoiceList { get; set; }

Property Value

System.Collections.Generic.IReadOnlyList<System.String>

PrintViewModelTemplatesInfoLayout.DefaultValue Property

public string? DefaultValue { get; set; }

Property Value

System.String

Methods

PrintViewModelTemplatesInfoLayout.AddToChoiceList(string[]) Method

Asynchronously adds elements to the ChoiceList property.

public System.Threading.Tasks.Task AddToChoiceList(params string[] values);

Parameters

values System.String[]

The elements to add.

Returns

System.Threading.Tasks.Task

PrintViewModelTemplatesInfoLayout.GetChoiceList() Method

Asynchronously retrieve the current value of the ChoiceList property.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<string>?> GetChoiceList();

Returns

System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<System.String>>

PrintViewModelTemplatesInfoLayout.GetDefaultValue() Method

Asynchronously retrieve the current value of the DefaultValue property.

public System.Threading.Tasks.Task<string?> GetDefaultValue();

Returns

System.Threading.Tasks.Task<System.String>

PrintViewModelTemplatesInfoLayout.RemoveFromChoiceList(string[]) Method

Asynchronously remove an element from the ChoiceList property.

public System.Threading.Tasks.Task RemoveFromChoiceList(params string[] values);

Parameters

values System.String[]

The elements to remove.

Returns

System.Threading.Tasks.Task

PrintViewModelTemplatesInfoLayout.SetChoiceList(IReadOnlyList) Method

Asynchronously set the value of the ChoiceList property after render.

public System.Threading.Tasks.Task SetChoiceList(System.Collections.Generic.IReadOnlyList<string>? value);

Parameters

value System.Collections.Generic.IReadOnlyList<System.String>

The value to set.

Returns

System.Threading.Tasks.Task

PrintViewModelTemplatesInfoLayout.SetDefaultValue(string) Method

Asynchronously set the value of the DefaultValue property after render.

public System.Threading.Tasks.Task SetDefaultValue(string? value);

Parameters

value System.String

The value to set.

Returns

System.Threading.Tasks.Task