Spread Windows Forms 7.0 Product Documentation
TextConditionalFormattingRule Constructor(TextConditionOperator,String,Boolean,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TextConditionalFormattingRule Class > TextConditionalFormattingRule Constructor : TextConditionalFormattingRule Constructor(TextConditionOperator,String,Boolean,Boolean)


op
The operator.
text
The text.
isFormula
if set to true, the text parameter represents a formula; otherwise, it represents a normal text value.
suppressCustomName
true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false

Glossary Item Box

Initializes a new instance of the TextConditionalFormattingRule class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal op As TextConditionOperator, _
   ByVal text As String, _
   ByVal isFormula As Boolean, _
   ByVal suppressCustomName As Boolean _
)
Visual Basic (Usage)Copy Code
Dim op As TextConditionOperator
Dim text As String
Dim isFormula As Boolean
Dim suppressCustomName As Boolean
 
Dim instance As New TextConditionalFormattingRule(op, text, isFormula, suppressCustomName)
C# 
public TextConditionalFormattingRule( 
   TextConditionOperator op,
   string text,
   bool isFormula,
   bool suppressCustomName
)

Parameters

op
The operator.
text
The text.
isFormula
if set to true, the text parameter represents a formula; otherwise, it represents a normal text value.
suppressCustomName
true Indicates that the expression, referred to by a custom name, will not be restricted; otherwise, false

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.