Answer the question
In order to leave comments, you need to log in
System.InvalidOperationException in wpf?
Brush_Control.BrushData.SetValue(BrushClass.BrushProperty, 5);
public Brush BrushData
{
get { return (Brush)GetValue(BrushProperty); }
set { SetValue(BrushProperty, value); }
}
<ControlBrush:BrushClass
x:Name="Brush_Control"
BrushData="{Binding ElementName=canvas1,Path=Background}">
</ControlBrush:BrushClass>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question