Operator Class

Assembly: CodeEffects.Rule.Common.dll
Namespace: CodeEffects.Rule.Common.Models

Summary

Represents an operator excluded by the Rule Editor from operator menus in the Rule Area.

Syntax

public class Operator

Constructors

  • Operator()

    Initializes a new instance of the Operator class. The Type property is set to DataType.None.

Properties

Remarks

Use this class as an item in the Control.ExcludedOperators collection. See the description of the Control.ExcludedOperators property for details about excluded operators and how to use this feature.

Example

control.ExcludedOperators.Add(new Operator
{
	Type = DataType.String,
	ExcludedOperator = ExcludedOperator.StartsWith | ExcludedOperator.DoesNotStartWith
});

Ask on Stack Overflow - Yes, it's still active
Ask in GitHub Discussions

p102

l097 --

l102

p101

×