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.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax
public BindingBase? CompositionContextBinding { get; set; }

Property Value

Type: BindingBase
Remarks
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