Eyeshot 11 WPF API Reference
WPF Assembly / devDept.Eyeshot Namespace / ViewportLayoutBase Class / SetDefaultCursor Method
The stream of the cursor to set as default

In This Topic
    SetDefaultCursor Method (ViewportLayoutBase)
    In This Topic
    Sets the default cursor for the viewport control.
    Syntax
    'Declaration
     
    Public Sub SetDefaultCursor( _
       ByVal cursorStream As Stream _
    ) 
    public void SetDefaultCursor( 
       Stream cursorStream
    )

    Parameters

    cursorStream
    The stream of the cursor to set as default
    Remarks
    Use this override to set a cursor in WPF when Renderer is different from rendererType.Native.You can use this override only when the handle of the control is already created (for e.g. in the Windows OnContentRendered override).When Renderer is different from rendererType.Native, the stream must be of a monochrome cursor image (due to a WindowsForms limitation).
    See Also