10 references to BehaviorService
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\CommandSet.cs (6)
678if (BehaviorService is not null && BehaviorService.HasCapture) 680BehaviorService.OnLoseCapture(); 791if (BehaviorService is not null) 795bool useSnapLines = BehaviorService.UseSnapLines; 2945Control? marshalControl = BehaviorService?.AdornerWindowControl;
System\Windows\Forms\Design\ControlCommandSet.cs (4)
466Point pt = BehaviorService.ControlToAdornerWindow(primaryControl); 611if (BehaviorService is not null) 615bool useSnapLines = BehaviorService.UseSnapLines; 1169cmd.Enabled = (selCount > 0) && controlsOnlySelection && (!BehaviorService.UseSnapLines);