Click or drag to resize

VisualCompositionBehaviorTCompositionContextBinding Property

Gets or sets the composition context binding. the binding will be applied to the RegionId property only after the behavior is attached to the logical tree, so you don't get misleading binding errors.


Namespace:  TomsToolbox.Wpf.Composition
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version:
public BindingBase CompositionContextBinding { get; set; }

Property Value

Type: BindingBase
Use this property instead of setting a direct binding to the RegionId property if the direct binding will generate binding error message, e.g. in style setters.
See Also