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