Answers for "wpf binding to static property in code behind"

C#
0

wpf binding to static property in code behind

var propertyInfo = typeof(ShellWindow).GetProperty("ProgressbarVisibility");
var propertyPath = new PropertyPath("(0)", propertyInfo);
var binding = new Binding() { Path = propertyPath, Mode = BindingMode.TwoWay };
Posted by: Guest on September-18-2020

Code answers related to "wpf binding to static property in code behind"

C# Answers by Framework

Browse Popular Code Answers by Language