Control's Region property

zhaozj2021-02-16  59

Today, when I was compiled .NET Framework, I found that Control had a Region property, checked the document, defined: The window The window of Pixels with ISTETS ​​DRAWING. The Operating System Does NOT Display Any Portion of a window. Lies Outside of the Window Region. The operating system only shows the area in the Region, and it does not accept the mouse event of the region of Region as the region.

The SELECTED UI of the .NET Framework's design-time is now implemented. Under Design-Time, after the Control is selected, there will be a box, after the mouse is moved, there will be the effect of Resizable or MoveABLE. On DesignFrame, a transparent Control, Control's Region is a selection box area selected by all selected Controls, which is responsible for drawing the selection box and handles the mouse event in the selection box area.

转载请注明原文地址:https://www.9cbs.com/read-18393.html

New Post(0)