Workflow Forms (Syntax)
Платформа WTСинтаксисБаза знаний
  • Form.xml
  • Файл стилей
  • Workflow Forms
    • Appearance
    • Checkings
    • Commands
      • ApplicationRunCommand
      • CallCommand
      • ClipboardSetCommand
      • ColorDialogShowCommand
      • CompareWordFilesCommand
      • ComputeHashCommand
      • ContextMenuShowCommand
      • ConvertDocumentToPdfCommand
      • CopyFileCommand
      • DataConnectionRefreshCommand
      • DeleteFileCommand
      • DownloadFileCommand
      • EmailSendCommand
      • ExitWindowsCommand
      • ExportTableToCsvCommand
      • ExportToDocCommand
      • ExportToDocxCommand
      • ExportToExcelCommand
      • ExportToPdfCommand
      • ExportToRtfCommand
      • FormActivateCommand
      • FolderDialogShowCommand
      • FocusSetCommand
      • FileDialogShowCommand
      • FormCloseCommand
      • FormMinimizeCommand
      • FormMaximizeCommand
      • FormShowCommand
      • GetEngineInfoCommand
      • LogWriteCommand
      • LocaleSetCommand
      • LoginCommand
      • MessageBoxCommand
      • ParentScreenshotCommand
      • ObjectPrintCommand
      • SaveClipboardImageCommand
      • ReplaceFileCommand
      • SaveCommand
      • ScreenshotCommand
      • SequentialCommand
      • SoundPlayCommand
      • ValueRefreshCommand
      • StatusBarCommand
      • SerializeToJsonCommand
      • WorkflowRollbackCommand
      • UploadFileCommand
      • ValueSetCommand
      • OverlayIconSetCommand
    • Conditions
      • EventCondition
        • BeforeChangeCondition
        • CellClickCondition
        • CellDoubleClickCondition
        • CellValueChangedCondition
        • ChangedCondition
        • ClickCondition
        • DoubleClickCondition
        • ColumnHeaderCheckBoxClickCondition
        • DataConnectionsLoadedCondition
        • DataConnectionsLoadingCondition
        • FormActivatedCondition
        • FormLoadedCondition
        • FormClosingCondition
        • FormFocusLostCondition
        • KeyDownCondition
        • KeyPressCondition
        • TableSelectionChanged
        • MouseLeaveCondition
        • MouseEnterCondition
        • MessageBoxResultChangedCondition
      • ComparisonCondition
        • ContainsCondition
        • NotContainsCondition
        • EqualCondition
        • NotEqualCondition
        • GreaterCondition
        • NotGreaterCondition
        • LessCondition
        • NotLessCondition
        • IsNullCondition
        • IsNotNullCondition
        • IsNullOrEmptyCondition
        • StartsWithCondition
        • EndsWithCondition
        • IsDataTypeCondition
        • IsEmailCondition
        • IsINNCondition
        • IsKPPCondition
        • IsOGRNCondition
        • IsSNILSCondition
        • IsMatchRegexCondition
      • NestedCondition
    • DataConnections
      • PrimaryGetDataConnection
        • SqlQuery
        • Filter
        • UpdateRows
      • SecondaryGetDataConnection
      • ConvertDataConnection
        • Селекторы
      • TreeGetDataConnection
      • ArrayGetDataConnection
      • AccessPointDataConnection
      • SetDataConnection
      • DatabaseTableSetDataConnection
      • DatabaseTreeSetDataConnection
    • DataTypes
      • BooleanDataType
      • DateDataType
      • DateTimeDataType
      • DecimalDataType
      • DoubleDataType
      • IntegerDataType
      • ShortDataType
      • StringDataType
      • TableDataType
      • TimeSpanDataType
    • Executions
    • Includes
    • Menus
      • ContextMenu
        • ContextMenu
        • FileContextMenu
        • LinkContextMenu
        • ListContextMenu
      • MainMenu
        • Gradient
      • MenuItem
        • MenuItem
        • Separator
    • Objects
      • Button
      • CheckBox
      • CheckedComboBox
      • ComboBox
      • CounterVariable
      • DatabaseTable
        • Formatting
          • BackColor
          • ForeColor
          • FontStyle
          • Alignment
        • Column
          • ColumnTextBox
          • ColumnComboBox
          • ColumnCheckBox
          • ColumnDateTimePicker
          • ColumnNumericBox
      • DatabaseTree
      • DateTimePicker
      • FileListBox
      • GroupBox
      • Label
      • LinkLabel
      • ListBox
      • NumericBox
      • Panel
        • Gradient
      • PictureBox
      • RadioButtonBlock
        • Option
      • Slider
        • ColorSchema
      • Spinner
      • Stopwatch
      • Subscriber
      • TextBox
      • Timer
      • TimeTable
      • TrayIcon
      • Variable
      • CartesianChart
        • AxisSettings
        • Series
      • PieChart
      • ProgressBar
    • Parameters
    • Универсальные значения
      • AccessPoint
      • Array
      • DataConnection
      • DataConnectionProperty
      • DateTime
      • DataTypeConvert
      • DataTypeFormat
      • Input
      • Calculate
      • Clipboard
      • CommandResult
      • FormProperty
      • Formula
      • String
      • Structure
      • Switch
      • Text
      • If
      • Info
      • MenuProperty
      • ObjectValue
      • ObjectProperty
      • Parameter
      • Константа
      • Константы замены для команд
      • Логическое выражение
Powered by GitBook
On this page
  • Шаблон Formatting
  • Тэги Formatting
  • BackColor
  • ForeColor
  • FontStyle
  • Alignment
  1. Workflow Forms
  2. Objects
  3. DatabaseTable

Formatting

Условное форматирование ячеек таблицы на основе значений других ячеек таблицы в этой же строке.

Шаблон Formatting

<Formatting>
  <BackColor Name="">
    <Color></Color>
    <ColorFromColumnValue></ColorFromColumnValue>
    <Columns>
      <Column Name="" />
      <Column Name="" />
    </Columns>
    <Expression></Expression>
    <Items>
      <Item></Item>
      <Item></Item>
    </Items>
  </BackColor>
  <ForeColor Name="">
    <Color></Color>
    <ColorFromColumnValue></ColorFromColumnValue>
    <Columns>
      <Column Name="" />
      <Column Name="" />
    </Columns>
    <Expression></Expression>
    <Items>
      <Item></Item>
      <Item></Item>
    </Items>
  </ForeColor>
  <FontStyle Name="">
    <Columns>
      <Column Name="" />
      <Column Name="" />
    </Columns>
    <Expression></Expression>
    <Items>
      <Item></Item>
      <Item></Item>
    </Items>
  </FontStyle>
  <Alignment>
    <Value>MiddleCenter</Value>
    <Columns>
      <Column Name="ColumnName1" />
    </Columns>
    <Expression>ColumnName3 > {0}</Expression>
    <Items>
      <Item>10</Item>
    </Items>
  </Alignment>
  <Alignment Value="MiddleRight">
    <Columns>
      <Column Name="ColumnName2" />
    </Columns>
    <Expression>ColumnName4</Expression>
  </Alignment>
</Formatting>

Тэги Formatting

BackColor

Условный цвет фона ячейки.

Необязательный атрибут Name ожидает имя одного из цветов, описанных на форме или описание цвета в формате HTML (#rrggbb).

<BackColor Name="BackColor">
  <Columns>
    <Column Name="ColumnName1" />
    <Column Name="ColumnName2" />
  </Columns>
  <Expression>ColumnName3 > {0} * {1}</Expression>
  <Items>
    <Item>10</Item>
    <Item>20</Item>
  </Items>
</BackColor>

ForeColor

Условный цвет шрифта ячейки.

Необязательный атрибут Name ожидает имя одного из цветов, описанных на форме или описание цвета в формате HTML (#rrggbb).

<ForeColor Name="ForeColor">
  <Columns>
    <Column Name="ColumnName1" />
    <Column Name="ColumnName2" />
  </Columns>
  <Expression>ColumnName3 > {0} * {1}</Expression>
  <Items>
    <Item>10</Item>
    <Item>20</Item>
  </Items>
</ForeColor>

FontStyle

Условный стиль шрифта ячейки.

Обязательный атрибут Name ожидает имя одного из стилей шрифтов, описанных на форме.

<FontStyle Name="FontStyle">
  <Columns>
    <Column Name="ColumnName1" />
    <Column Name="ColumnName2" />
  </Columns>
  <Expression>ColumnName3 > {0} * {1}</Expression>
  <Items>
    <Item>10</Item>
    <Item>20</Item>
  </Items>
</FontStyle>

Alignment

Условное положение содержимого ячейки.

Необязательный атрибут Value ожидает название одного из типов положения:

TopLeft

Слева сверху

TopCenter

По центру сверху

TopRight

Справа сверху

MiddleLeft

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

MiddleCenter

По центру посередине

MiddleRight

Справа посередине

BottomLeft

Слева снизу

BottomCenter

По центру снизу

BottomRight

Справа снизу

<Alignment Value="MiddleRight">
  <Columns>
    <Column Name="ColumnName2" />
  </Columns>
  <Expression>ColumnName3 > {0}</Expression>
  <Items>
    <Item>10</Item>
  </Items>
</Alignment>

Last updated 3 months ago

Необязательный тэг. Описание вложенных тэгов по .

Необязательный тэг. Описание вложенных тэгов по .

Необязательный тэг. Описание вложенных тэгов по .

Необязательный тэг. Описание вложенных тэгов по .

ссылке
ссылке
ссылке
ссылке