Vixen
02b45cc4
csharp
public enum UiCursor

What the pointer should look like over an element.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

CSS's question, not the platform's. This assembly cannot see Vixen.Platform's CursorShape and should not — a UI tree that knew about windows would be a UI tree that could only be shown in one. So the cascade's answer stops here as an intent, and whoever owns the window maps it to a stock cursor.

The mapping is not one to one in either direction, which is the other reason for two enums. ColumnResize and EastWest are one shape on every desktop and two different statements in a stylesheet; Grabbing has no stock cursor at all on some platforms and falls back to Grab.

Fields and properties (16)

  • Auto

    Nothing said — the host picks, which is an arrow almost everywhere.

  • Default

    The ordinary arrow, said explicitly.

  • None

    Nothing at all: the pointer is hidden over this element.

  • Pointer

    The pointing hand, over something clickable.

  • Text

    The I-beam, over selectable or editable text.

  • Move

    The four-way move.

  • NotAllowed

    The drop target refuses what is over it.

  • Grab

    An open hand, over something draggable.

  • Grabbing

    A closed hand, while something is being dragged.

  • Crosshair

    The precision crosshair.

  • Wait

    The busy indicator, while nothing can be done.

  • Progress

    Busy, but the interface still responds.

  • ColumnResize

    Resize a column — a vertical splitter between two panels.

  • RowResize

    Resize a row — a horizontal splitter.

  • EastWest

    Resize left and right, over a box's vertical edge.

  • NorthSouth

    Resize up and down, over a box's horizontal edge.

Used by (2)

  • HoverTestsVixen.Ui.Tests
  • UiDocumentVixen.Ui