Specifies the resulting value of the BoolList.
NuGet Package: DevExpress.ExpressApp
A Boolean value representing the resulting value of the BoolList.
The ResultValue property specifies the resulting value of the BoolList, which is based on the values from the BoolList‘s collection of key/value pairs. The resulting value is determined based on the BoolListOperatorType mode specified via the BoolList constructor’s operatorType parameter. When the BoolListOperatorType.And mode is used, the resulting value of a BoolList is determined by logically multiplying all the values from the BoolList‘s collection of key/value pairs. When the BoolListOperatorType.Or mode is used, the resulting value of a BoolList is determined by logically summing all the values from the BoolList‘s collection of key/value pairs.
Generally, there is no need to use the ResultValue property as BoolList overrides the BoolList.Equals method. This allows you to use instances of the BoolList class in Boolean expressions, and compare such instances directly to Boolean values. The following code snippet illustrates this.
For a general description of the BoolList class, refer to the BoolList class description.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ResultValue property.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.