Выделение отдельных сервисов

This commit is contained in:
2026-01-08 00:00:50 +03:00
parent c3770c789b
commit 9ea82af329
8 changed files with 35 additions and 33 deletions

View File

@@ -89,8 +89,8 @@ public class LatticeSplitter : Control
{
// Вызываем метод перерисовки (в Core это может быть событие LayoutUpdated)
// В нашем случае это заставит LayoutPanel пересчитать Column/Row Definitions
host.Manager?.Dock(null!, null!, DockDirection.Center); // Фиктивный вызов для обновления
// Или если есть прямой доступ: host.Manager.InvokeLayoutUpdated();
host.Service?.Dock(null!, null!, DockDirection.Center); // Фиктивный вызов для обновления
// Или если есть прямой доступ: host.Service.InvokeLayoutUpdated();
break;
}
parent = VisualTreeHelper.GetParent(parent);