I am dynamically generating the report from code using the .net dll version of Stimulsoft. To create a panel i do the following:
Code: Select all
// Add Panel
var stiPanel = new StiPanel()
{
Name = panel.Name,
Height = panel.Height,
Width = panel.Width,
DockStyle = StiDockStyle.Top,
CanGrow = true,
CanBreak = false
};
dataBand.Components.Add(stiPanel);
// Set the Visibility of the Panel (if specified)
var condition = new StiCondition
{
Expression = new StiExpression("table_name.field_name != true"),
Enabled = false
};
stiPanel.Conditions.Add(condition);
So I tried the following method call instead, and it does exactly the same.
Code: Select all
var condition = new StiCondition("table_name.field_name != true", Color.Black, Color.White, font, false);