Table of Contents

Class LanguageSelector

Namespace
Dynamicweb.CoreUI.Actions
Assembly
Dynamicweb.CoreUI.dll

For selecting languages for multiple edit form

public class LanguageSelector : ActionNode
Inheritance
LanguageSelector
Inherited Members
Extension Methods

Properties

Languages

public List<LanguageSelector.LanguageOption> Languages { get; set; }

Property Value

List<LanguageSelector.LanguageOption>

Selected

public IEnumerable<string> Selected { get; set; }

Property Value

IEnumerable<string>

Methods

GetFlagImage(string?, string?, Ratio)

public static Image GetFlagImage(string? countryCode, string? name = "", Image.Ratio ratio = Ratio.fullWidth)

Parameters

countryCode string
name string
ratio Image.Ratio

Returns

Image

GetFlagSVG(string?)

public static string GetFlagSVG(string? countryCode)

Parameters

countryCode string

Returns

string
To top