예제 #1
0
        protected override async Task OnCheckedAsync()
        {
            await HostUiService.ShowDiagramWindowAsync();

            DiagramWindowService.ExpandAllNodes();
            DiagramWindowService.KeepDiagramCentered();
        }
예제 #2
0
        public override async Task ExecuteAsync()
        {
            await HostUiService.ShowDiagramWindowAsync();

            DiagramWindowService.ExpandAllNodes();
            DiagramWindowService.KeepDiagramCentered();
        }
예제 #3
0
 public ShowHideNodeDescriptionsToggleCommand(IAppServices appServices)
     : base(appServices, initialIsChecked: AppDefaults.NodeDescriptionsVisibleByDefault)
 {
     DiagramWindowService.ExpandAllNodes();
 }