csharp4405de34 | 1 | using System.ComponentModel; |
| 2 | |
| 3 | namespace CascadeIDE.ViewModels; |
| 4 | |
| 5 | /// <summary>Инвалидация производных высот <c>MainGrid</c> без длинных цепочек <c>NotifyPropertyChangedFor</c> в ShellState.</summary> |
| 6 | public partial class MainWindowViewModel |
| 7 | { |
| 8 | protected override void OnPropertyChanged(PropertyChangedEventArgs e) |
| 9 | { |
| 10 | base.OnPropertyChanged(e); |
| 11 | if (e.PropertyName is nameof(IdeHealthBuildText) |
| 12 | or nameof(IdeHealthTestsText) |
| 13 | or nameof(IdeHealthDebugText) |
| 14 | or nameof(IdeHealthBuildCockpitShort) |
| 15 | or nameof(IdeHealthTestsCockpitShort) |
| 16 | or nameof(IdeHealthDebugCockpitShort)) |
| 17 | RebuildIdeHealth(); |
| 18 | } |
| 19 | } |
| 20 | |
View only · write via MCP/CIDE