Show / Hide Table of Contents

Class DdeTable

Метаинформация таблицы, передаваемой под DDE. Через свойство Caption задается, какой заголовок в Quik-e будет иметь таблица. Например, для таблицы Инструменты по умолчанию в Quik-е используется название 'Таблица текущих значений параметров', что необходимо переименовать в Инструменты, или же сделать наоборот в самой программе:

_trader.SecuritiesTable.Caption = "Таблица текущих значений параметров";
Дополнительно, через свойство Columns можно задать произвольный порядок колонок таблицы.

Inheritance
Object
DdeTable
Implements
Ecng.Serialization.IPersistable
Namespace: StockSharp.Quik
Assembly: StockSharp.Quik.dll
Syntax
public sealed class DdeTable : Equatable<DdeTable>, IPersistable

Properties

Caption

Заголовок таблицы в Quik-e.

Declaration
public string Caption { get; set; }
Property Value
Type Description
String

ClassName

Класс таблицы в Quik-е.

Declaration
public string ClassName { get; set; }
Property Value
Type Description
String

Columns

Информация о колонках.

Declaration
public DdeTableColumnList Columns { get; }
Property Value
Type Description
DdeTableColumnList
Remarks

Если поменялся порядок колонок в Quik-е, необходимо поменять колонки и в программе через DdeTable. Новое значение индекса колонки присваивается следующим образом:

// колонка Время расположена 5-ой по счету (нумерация с нуля).
_trader.TradesTable.Columns[4] = DdeTradeColumns.Time;

Methods

Clone()

Создать копию DdeTable.

Declaration
public override DdeTable Clone()
Returns
Type Description
DdeTable

Копия.

GetHashCode()

Рассчитать хэш-код объекта DdeTable.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

Хэш-код.

Load(SettingsStorage)

Загрузить настройки.

Declaration
public void Load(SettingsStorage storage)
Parameters
Type Name Description
Ecng.Serialization.SettingsStorage storage

Хранилище настроек.

OnEquals(DdeTable)

Сравнить DdeTable на эквивалентность.

Declaration
protected override bool OnEquals(DdeTable other)
Parameters
Type Name Description
DdeTable other

Другое значение, с которым необходимо сравнивать.

Returns
Type Description
Boolean

true, если другое значение равно текущему, иначе, false.

Save(SettingsStorage)

Сохранить настройки.

Declaration
public void Save(SettingsStorage storage)
Parameters
Type Name Description
Ecng.Serialization.SettingsStorage storage

Хранилище настроек.

ToString()

Получить строковое представление.

Declaration
public override string ToString()
Returns
Type Description
String

Строковое представление.

Implements

Ecng.Serialization.IPersistable

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾