Table of Contents

Class SoftMutuallyBoundMinMaxRule<TValue, TProperty>

Namespace
PaintDotNet.PropertySystem
Assembly
PaintDotNet.PropertySystem.dll

Defines a rule for two properties, A and B, such that A will always be less than or equal to B, and B will always be greater than or equal to A. If A is set to a new value that is greater than B, then B will be set equal to A. If B is set to a new value that is less than A, then A will be set equal to B.

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

Type Parameters

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

Constructors

SoftMutuallyBoundMinMaxRule(Property, Property)
SoftMutuallyBoundMinMaxRule(object, object)

Methods

Clone()
OnInitialized()