Binding binding = new Binding(); binding.Source = this; binding.Path = new PropertyPath("ActualInterior"); element.SetBinding(Shape.FillProperty, binding); binding = new Binding(); binding.Source = this; binding.Path = new PropertyPath("ActualInterior"); element.SetBinding(Shape.StrokeProperty, binding);
Binding binding = new Binding(); binding.Source = this; binding.Path = new PropertyPath("ActualInterior"); element.SetBinding(Shape.FillProperty, binding); element.SetBinding(Shape.StrokeProperty, binding);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)