Constructor ReadOnlyBoundToValueRule
- Namespace
- PaintDotNet.PropertySystem
- Assembly
- PaintDotNet.PropertySystem.dll
ReadOnlyBoundToValueRule(Property, TProperty, TValue, bool)
public ReadOnlyBoundToValueRule(Property targetProperty, TProperty sourceProperty, TValue valueForReadOnly, bool inverse = false)
Parameters
targetProperty
Property
sourceProperty
TProperty
valueForReadOnly
TValue
inverse
bool
ReadOnlyBoundToValueRule(Property, TProperty, TValue[], bool)
public ReadOnlyBoundToValueRule(Property targetProperty, TProperty sourceProperty, TValue[] valuesForReadOnly, bool inverse = false)
Parameters
targetProperty
Property
sourceProperty
TProperty
valuesForReadOnly
TValue[]
inverse
bool
ReadOnlyBoundToValueRule(object, object, TValue, bool)
public ReadOnlyBoundToValueRule(object targetPropertyName, object sourcePropertyName, TValue valueForReadOnly, bool inverse = false)
Parameters
targetPropertyName
object
sourcePropertyName
object
valueForReadOnly
TValue
inverse
bool
ReadOnlyBoundToValueRule(object, object, TValue[], bool)
public ReadOnlyBoundToValueRule(object targetPropertyName, object sourcePropertyName, TValue[] valuesForReadOnly, bool inverse = false)
Parameters
targetPropertyName
object
sourcePropertyName
object
valuesForReadOnly
TValue[]
inverse
bool