Dependency Property Not Updating Visual Studio Designer
问题 I've created a style for a new WPF Window class and have some dependency properties on there. The one to note is ShowHelpButton This is supposed to toggle the visibility of the Help button on the window. The code works fine in runtime, but I cannot get it to update the UI in the design view. Here's the class: public class MainWindowFrame : Window { #region DependencyProperties public static readonly DependencyProperty ShowHelpButtonProperty = DependencyProperty.Register( "ShowHelpButton",