diff --git a/WindowDebugger/ViewModels/WindowItem.cs b/WindowDebugger/ViewModels/WindowItem.cs index fb4408e..a462753 100644 --- a/WindowDebugger/ViewModels/WindowItem.cs +++ b/WindowDebugger/ViewModels/WindowItem.cs @@ -43,11 +43,35 @@ public WindowItem(HWND hwnd) public string Text { get => _window.Text; set => _window.Text = value; } - public WindowStyles Styles { get => _window.WindowStyles; set => _window.WindowStyles = value; } + public WindowStyles Styles + { + get => _window.WindowStyles; + set + { + _window.WindowStyles = value; + OnPropertyChanged(); + } + } - public WindowStylesEx StylesEx { get => _window.WindowStylesEx; set => _window.WindowStylesEx = value; } + public WindowStylesEx StylesEx + { + get => _window.WindowStylesEx; + set + { + _window.WindowStylesEx = value; + OnPropertyChanged(); + } + } - public ClassStyles ClassStyles { get => _window.ClassStyles; set => _window.ClassStyles = value; } + public ClassStyles ClassStyles + { + get => _window.ClassStyles; + set + { + _window.ClassStyles = value; + OnPropertyChanged(); + } + } public int ProcessID { get => _window.ProcessID; }