Version

DisplayText Property

Gets or sets the text to use in the UI for the condition.
Syntax
'Declaration
 
Public Property DisplayText As String
public string DisplayText {get; set;}

Property Value

if specified will be returned from the ToString method.
Remarks

Note: if DisplayText is supplied then the user will see the 'Equals' operator in a filter cell when this ComparisonCondition is selected. Also, if the operator is subsequently changed then the condition will be cleared. The reason for this behavior is that the display text may include context that is related to its own operator. Therefore, any additional operator displayed to the user (other than 'Equals') may be incorrect. For eaxmple, if the ComparisonCondition Operator was 'NotEquals', the Value was '0' and the DisplayText was 'None Zero'.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also