Expression containers
Some properties are also expression containers (ExpressionContainers). Expression containers can handle both normal strings and expressions. Qlik Sense support two different expression containers:
-
StringExpressionContainer
-
ValueExpressionContainer
String expression container
Example: Non-calculated string expression container
Result:myTable.Properties.Title = "My Table Title";
string stringValue = myTable.Title;
Example: Calculated string expression container
Result:myTable.Properties.Title = "=1+1";
stringValue = myTable.Title;
Value expression container
Example: Evaluated value expression container on gauge measure
IGaugeMeasureAxis measureAxis = gauge.Properties.MeasureAxis; measureAxis.Max = "25"; measureAxis.Max = 25d; measureAxis.Max = "=20+5"; double value = gauge.MeasureAxis.Max;