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