ColumnsSelectorViewModel - конструктор
Пространство имён: Tessa.UI.Views.Charting.ControlsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public ColumnsSelectorViewModel(
[NotNullAttribute] ColumnsInfo columnsInfo,
[CanBeNullAttribute] string title,
[NotNullAttribute] Func<string> getFieldNames,
[NotNullAttribute] Action<string> setFieldNames,
[CanBeNullAttribute] string formatTitle = "",
[CanBeNullAttribute] Func<string> getFormat = null,
[CanBeNullAttribute] Action<string> setFormat = null
)
Public Sub New (
<NotNullAttribute> columnsInfo As ColumnsInfo,
<CanBeNullAttribute> title As String,
<NotNullAttribute> getFieldNames As Func(Of String),
<NotNullAttribute> setFieldNames As Action(Of String),
<CanBeNullAttribute> Optional formatTitle As String = "",
<CanBeNullAttribute> Optional getFormat As Func(Of String) = Nothing,
<CanBeNullAttribute> Optional setFormat As Action(Of String) = Nothing
)
public:
ColumnsSelectorViewModel(
[NotNullAttribute] ColumnsInfo^ columnsInfo,
[CanBeNullAttribute] String^ title,
[NotNullAttribute] Func<String^>^ getFieldNames,
[NotNullAttribute] Action<String^>^ setFieldNames,
[CanBeNullAttribute] String^ formatTitle = L"",
[CanBeNullAttribute] Func<String^>^ getFormat = nullptr,
[CanBeNullAttribute] Action<String^>^ setFormat = nullptr
)
new :
[<NotNullAttribute>] columnsInfo : ColumnsInfo *
[<CanBeNullAttribute>] title : string *
[<NotNullAttribute>] getFieldNames : Func<string> *
[<NotNullAttribute>] setFieldNames : Action<string> *
[<CanBeNullAttribute>] ?formatTitle : string *
[<CanBeNullAttribute>] ?getFormat : Func<string> *
[<CanBeNullAttribute>] ?setFormat : Action<string>
(* Defaults:
let _formatTitle = defaultArg formatTitle ""
let _getFormat = defaultArg getFormat null
let _setFormat = defaultArg setFormat null
*)
-> ColumnsSelectorViewModel
Параметры
- columnsInfo ColumnsInfo
- Список столбцов
- title String
-
Заголовок
- getFieldNames FuncString
-
Функция возвращающая список полей
- setFieldNames ActionString
-
Метод установки значений списка полей
- formatTitle String (Optional)
-
Формат вывода полей
- getFormat FuncString (Optional)
-
Функция возвращающая формат
- setFormat ActionString (Optional)
-
Метод установки формата