ControlDesigner.OnSetCursor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Receives a call each time the cursor needs to be set.
protected:
virtual void OnSetCursor();
protected virtual void OnSetCursor ();
abstract member OnSetCursor : unit -> unit
override this.OnSetCursor : unit -> unit
Protected Overridable Sub OnSetCursor ()
Remarks
This method handles redirection and handling of the set cursor event. If the toolbox service has a tool selected, this method will allow the toolbox service to set the cursor. If the selection UI service has a locked selection, or if there is no location property on the control, the default arrow cursor will be set. If a user is dragging a component, the crosshair cursor will be set. Otherwise, a four headed arrow cursor will be set to indicate that the component can be clicked and moved.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기