14 references to GetAppropriateBehavior
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\Behavior\BehaviorService.cs (14)
541
Behavior? behavior =
GetAppropriateBehavior
(_hitTestedGlyph);
633
Behavior? behavior =
GetAppropriateBehavior
(g);
657
Behavior? behavior =
GetAppropriateBehavior
(g);
667
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseDoubleClick(_hitTestedGlyph, button, mouseLoc) ?? false;
670
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseDown(_hitTestedGlyph, button, mouseLoc) ?? false;
672
private bool OnMouseEnter(Glyph? g) =>
GetAppropriateBehavior
(g)?.OnMouseEnter(g) ?? false;
675
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseHover(_hitTestedGlyph, mouseLoc) ?? false;
681
return
GetAppropriateBehavior
(g)?.OnMouseLeave(g) ?? false;
688
return
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseMove(_hitTestedGlyph, button, mouseLoc) ?? false;
695
return
GetAppropriateBehavior
(_hitTestedGlyph)?.OnMouseUp(_hitTestedGlyph, button) ?? false;
721
Behavior? behavior =
GetAppropriateBehavior
(_hitTestedGlyph);
816
Behavior? behavior =
GetAppropriateBehavior
(_hitTestedGlyph);
836
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnGiveFeedback(_hitTestedGlyph, e);
839
=>
GetAppropriateBehavior
(_hitTestedGlyph)?.OnQueryContinueDrag(_hitTestedGlyph, e);