Skip to content

UIElementMarkupExtensions.Cursor<T> method

Sets the cursor shown while the mouse is over this element; null inherits from the parent or the platform default, and None hides the cursor.

public static T Cursor<T>(this T target, CursorType? value)
where T : UIElement
parameter description
T Receiver type.
target Target UIElement.
value Value assigned to Cursor.

The same element for chaining.

Sets: UIElement.Cursor