GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
PrintViewModelTemplatesInfoFormat Class
public class PrintViewModelTemplatesInfoFormat : dymaptic.GeoBlazor.Core.Components.MapComponent
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 PrintViewModelTemplatesInfoFormat
Constructors
PrintViewModelTemplatesInfoFormat() Constructor
Parameterless constructor for use as a Razor Component.
public PrintViewModelTemplatesInfoFormat();
PrintViewModelTemplatesInfoFormat(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 PrintViewModelTemplatesInfoFormat(System.Collections.Generic.IReadOnlyList<string>? choiceList=null, string? defaultValue=null);
Parameters
choiceList
System.Collections.Generic.IReadOnlyList<System.String>
defaultValue
System.String
Properties
PrintViewModelTemplatesInfoFormat.ChoiceList Property
public System.Collections.Generic.IReadOnlyList<string>? ChoiceList { get; set; }
Property Value
System.Collections.Generic.IReadOnlyList<System.String>
PrintViewModelTemplatesInfoFormat.DefaultValue Property
public string? DefaultValue { get; set; }
Property Value
Methods
PrintViewModelTemplatesInfoFormat.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
PrintViewModelTemplatesInfoFormat.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>>
PrintViewModelTemplatesInfoFormat.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>
PrintViewModelTemplatesInfoFormat.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
PrintViewModelTemplatesInfoFormat.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
PrintViewModelTemplatesInfoFormat.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.