Table of Contents

Class LinkValuesBasedOnBooleanRule<TValue, TProperty>

Namespace
PaintDotNet.PropertySystem
Assembly
PaintDotNet.PropertySystem.dll

Defines a rule that forces the values of multiple properties to be equal when the value of another property is true (or false, if you choose). This is commonly used to implement a checkbox that just says "Linked".

public sealed class LinkValuesBasedOnBooleanRule<TValue, TProperty> : PropertyCollectionRule, ICloneable where TValue : struct, IComparable<TValue> where TProperty : ScalarProperty<TValue>

Type Parameters

TValue
TProperty
Inheritance
LinkValuesBasedOnBooleanRule<TValue, TProperty>
Implements
Inherited Members

Constructors

LinkValuesBasedOnBooleanRule(IEnumerable<TProperty>, BooleanProperty, bool)
LinkValuesBasedOnBooleanRule(object[], object, bool)

Methods

Clone()
OnInitialized()