Table of Contents

Class SelectorBuilder

Namespace
Dynamicweb.CoreUI.Editors.Selectors
Assembly
Dynamicweb.CoreUI.dll
public sealed class SelectorBuilder
Inheritance
SelectorBuilder
Inherited Members

Fields

KnownSelectorProviderTypes

public static readonly Type[] KnownSelectorProviderTypes

Field Value

Type[]

Methods

CreateAreaSelector(int?, string?, string?, bool, bool)

public static Selector CreateAreaSelector(int? value = null, string? hint = null, string? explanation = null, bool multiselect = false, bool hideDeactivated = false)

Parameters

value int?
hint string
explanation string
multiselect bool
hideDeactivated bool

Returns

Selector

CreateEmailSelector(EmailSelectorOptions?)

public static Selector CreateEmailSelector(EmailSelectorOptions? options)

Parameters

options EmailSelectorOptions

Returns

Selector

CreateFileSelector(string?, string?, string?, string?, string?, bool, bool, IEnumerable<string>?, bool, string)

public static Selector CreateFileSelector(string? value = null, string? section = null, string? folder = null, string? hint = null, string? explanation = null, bool multiselect = false, bool showEditButton = false, IEnumerable<string>? extensions = null, bool lockedToFolder = true, string label = "")

Parameters

value string
section string
folder string
hint string
explanation string
multiselect bool
showEditButton bool
extensions IEnumerable<string>
lockedToFolder bool
label string

Returns

Selector

CreateFolderSelector(string?, string?, string?, string?, bool)

public static Selector CreateFolderSelector(string? value = null, string? section = null, string? hint = null, string? explanation = null, bool multiselect = false)

Parameters

value string
section string
hint string
explanation string
multiselect bool

Returns

Selector

CreateImageSelector(string?, string?, string?, bool, bool)

public static Selector CreateImageSelector(string? value = null, string? hint = null, string? explanation = null, bool multiselect = false, bool showEditButton = false)

Parameters

value string
hint string
explanation string
multiselect bool
showEditButton bool

Returns

Selector

CreateOptionSelector(List<ListOption>, string?, string?, string?, string?, string?, bool)

public static Selector CreateOptionSelector(List<ListBase.ListOption> Options, string? heading = null, string? title = null, string? value = null, string? hint = null, string? explanation = null, bool multiselect = false)

Parameters

Options List<ListBase.ListOption>
heading string
title string
value string
hint string
explanation string
multiselect bool

Returns

Selector

CreatePageSelector(int?, string?, string?, bool, int?, bool, string?)

public static Selector CreatePageSelector(int? value = null, string? hint = null, string? explanation = null, bool multiselect = false, int? areaId = null, bool disallowSelectFolder = false, string? itemType = null)

Parameters

value int?
hint string
explanation string
multiselect bool
areaId int?
disallowSelectFolder bool
itemType string

Returns

Selector

CreateParagraphSelector(int?, string?, string?, bool, int?, string?)

public static Selector CreateParagraphSelector(int? value = null, string? hint = null, string? explanation = null, bool multiselect = false, int? areaId = null, string? itemType = null)

Parameters

value int?
hint string
explanation string
multiselect bool
areaId int?
itemType string

Returns

Selector

CreateProductGroupSelector(ProductGroupSelectorOptions?)

public static Selector CreateProductGroupSelector(ProductGroupSelectorOptions? options)

Parameters

options ProductGroupSelectorOptions

Returns

Selector

CreateProductSelector(ProductSelectorOptions?)

public static Selector CreateProductSelector(ProductSelectorOptions? options)

Parameters

options ProductSelectorOptions

Returns

Selector

CreateShopSelector(string?, string?, string?, bool)

public static Selector CreateShopSelector(string? value = null, string? hint = null, string? explanation = null, bool multiselect = false)

Parameters

value string
hint string
explanation string
multiselect bool

Returns

Selector

CreateUserGroupSelector(int?, string?, string?, bool)

public static Selector CreateUserGroupSelector(int? value = null, string? hint = null, string? explanation = null, bool multiselect = false)

Parameters

value int?
hint string
explanation string
multiselect bool

Returns

Selector

CreateUserSelector(int?, string?, string?, bool)

public static Selector CreateUserSelector(int? value = null, string? hint = null, string? explanation = null, bool multiselect = false)

Parameters

value int?
hint string
explanation string
multiselect bool

Returns

Selector
To top