NoesisGUI

Cursor Class

namespace Noesis | MSDN

Represents the image used for the mouse pointer.

The Cursors class contains a set of default cursors. Custom cursors can be created from specified .ani or .cur files.

<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
  <Rectangle Height="100" Fill="Red" Cursor="Hand"/>
  <Rectangle Height="100" Fill="Blue" Cursor="Resources/Cursors/link.cur"/>
</StackPanel>

Inheritance Hierarchy

Cursor

INDEX Class Hierarchy Index

Properties


Name Description
RO Filename For custom cursors this returns the filename or empty string for built in cursors
RO Type Returns the cursor type

DP_ Dependency Property      RO_ Read-only


Methods

Name Description
ToString Generates a string representation of the cursor. Returns the standard cursor name, or the path for the custom cursor file

Events

Cursor has no events

© 2017 Noesis Technologies