StiCondition Class

Namespace: Stimulsoft.Report.Components

Inheritance

Inherits from: StiBaseCondition

Constructors

Constructor Description
StiCondition() Creates a new object of the type StiCondition.
StiCondition(string expression, Color textColor, Color backColor, Font font, bool enabled) Creates a new object of the type StiCondition.

StiCondition()

Creates a new object of the type StiCondition.


StiCondition(expression: string, textColor: Color, backColor: Color, font: Font, enabled: bool)

Creates a new object of the type StiCondition.

Parameters

  • expression (string)
  • textColor (Color)
  • backColor (Color)
  • font (Font)
  • enabled (bool)

Properties

Property Type Description
AssignExpression string  
BackColor Color  
BreakIfTrue bool  
CanAssignExpression bool  
Enabled bool  
Font Font  
Icon byte[]  
IconSize Size?  
Permissions StiConditionPermissions  
Style string  
TextColor Color  

Methods

Method Returns Description
Clone object Creates a new object that is a copy of the current instance.
Equals bool  
GetFonts List<StiFont>  
GetHashCode int  
LoadFromJsonObject void  
SaveToJsonObject JObject  

Method Details

Clone

Clone(): object

Creates a new object that is a copy of the current instance.

Returns object — A new object that is a copy of this instance.


Equals

Equals(obj: object): bool

Parameters

  • obj (object)

Returns bool


GetFonts

GetFonts(): List<StiFont>

Returns List<StiFont>


GetHashCode

GetHashCode(): int

Returns int


LoadFromJsonObject

LoadFromJsonObject(jObject: JObject): void

Parameters


SaveToJsonObject

SaveToJsonObject(mode: StiJsonSaveMode): JObject

Parameters

Returns JObject

Fields

Field Type Description
IconAlignment ContentAlignment