14 references to GetAppropriateBehavior
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (14)
541
Behavior? behavior =
GetAppropriateBehavior
(_hitTestedGlyph);
636
Behavior? behavior =
GetAppropriateBehavior
(g);
660
Behavior? behavior =
GetAppropriateBehavior
(g);
670
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseDoubleClick(_hitTestedGlyph, button, mouseLoc) ?? false;
673
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseDown(_hitTestedGlyph, button, mouseLoc) ?? false;
675
private bool OnMouseEnter(Glyph? g) =>
GetAppropriateBehavior
(g)?.OnMouseEnter(g) ?? false;
678
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseHover(_hitTestedGlyph, mouseLoc) ?? false;
684
return
GetAppropriateBehavior
(g)?.OnMouseLeave(g) ?? false;
691
return
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseMove(_hitTestedGlyph, button, mouseLoc) ?? false;
698
return
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseUp(_hitTestedGlyph, button) ?? false;
724
Behavior? behavior =
GetAppropriateBehavior
(_hitTestedGlyph);
819
Behavior? behavior =
GetAppropriateBehavior
(_hitTestedGlyph);
839
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnGiveFeedback(_hitTestedGlyph, e);
842
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnQueryContinueDrag(_hitTestedGlyph, e);