IXRFrameworkElement::SetCursor (Compact 2013)

3/28/2014

This method sets the cursor that is displayed while the mouse pointer is over this framework element.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCursor(
    __in XRCursor Cursor
) = 0;

Parameters

  • Cursor
    [in] XRCursor enumerated type that indicates the cursor that is displayed, such as XRCursor_Arrow or XRCursor_IBeam.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The cursor value can change based on the composition or implementation of specific controls. For example, any control that contains an IXRTextBox, or IXRTextBox itself, can affect the cursor displayed.

.NET Framework Equivalent

System.Windows.FrameworkElement.Cursor

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRFrameworkElement