Unit: lxHandleX
Conditional-formatting rule collection exposed by TXLSXWorksheet.ConditionalFormats; covering cell, visual (data bar / colour scale / icon set), text, ranking and average rules
Description
Conditional-formatting rule collection exposed by TXLSXWorksheet.ConditionalFormats; covering cell, visual (data bar / colour scale / icon set), text, ranking and average rules The class belongs to the XLSX facade (lxHandleX) and is reached from the owning workbook or worksheet, so application code does not normally create instances directly
Saving individual icon overrides
Use SetIconOverride on an icon-set rule to replace individual icon positions; ordinary XLSX file and stream saves keep the effective family and icon index at every position, including untouched positions between overrides
The saved custom icon list is positional, so a rule with any override includes equivalent base-family icons for its other positions; a rule without overrides retains its ordinary compact representation
Reopening an explicitly written base-family icon can make HasIconOverride true even though its effective icon is unchanged; compare the effective family and index when checking the persisted appearance
The public negative position stays a no-op; this correction does not add a signed negative icon-ID or native NoIcons representation
Properties
Methods
function Add
function AddDataBar
function AddColorScale2
function AddColorScale3
function AddIconSet
function AddExpression
function AddTextRule
function AddTop10
function AddAboveAverage
function AddSimpleRule
function IndexOfCell
function FindAt
function DeleteAt
function DeleteInRange
procedure Delete
function AddExisting
procedure Clear
See also