xtd 0.2.0
Loading...
Searching...
No Matches

◆ cursor() [1/2]

virtual forms::cursor xtd::forms::control::cursor ( ) const
virtualnoexcept

Gets the cursor that is displayed when the mouse pointer is over the control.

Returns
A xtd::forms::cursor that represents the cursor to display when the mouse pointer is over the control.
Remarks
The xtd::forms::control::cursor property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a xtd::forms::button will have the same xtd::forms::control::back_color as its parent xtd::forms::form by default. For more information about ambient properties, see the ambient_properties guide.