MouseDevice.SetCursor(Cursor) 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.
Sets the mouse pointer to the specified Cursor.
public:
bool SetCursor(System::Windows::Input::Cursor ^ cursor);
[System.Security.SecurityCritical]
public bool SetCursor (System.Windows.Input.Cursor cursor);
public bool SetCursor (System.Windows.Input.Cursor cursor);
[<System.Security.SecurityCritical>]
member this.SetCursor : System.Windows.Input.Cursor -> bool
member this.SetCursor : System.Windows.Input.Cursor -> bool
Public Function SetCursor (cursor As Cursor) As Boolean
Parameters
- cursor
- Cursor
The cursor to set the mouse pointer to.
Returns
true
if the mouse cursor is set; otherwise, false
.
- Attributes
Remarks
Note that this cursor does not apply any particular UIElement, but rather it applies to the whole application.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.