Docs / UI

Glossary: Image Style

The properties, methods and events of Image, in alphabetical order.

Color legend plain property dependency property method

Draws a texture, stretched over the image, centered at its own size or repeated as tiles.

Image derives from BaseElement and has its members too. The images page shows it in context, with code and screenshots.

Names are colored by what they are: a plain property, a method, an event or a dependency property, which a style, a binding or an animation can set.

Properties

Fill 🠆

ImageFill · How the texture covers the image. Defaults to Stretch.

GeneralMouseCursorsSet 🠆

MouseCursorsSet · Static. The cursors of every element of this style type; null (the default) falls back to DefaultMouseCursorsSet.

GeneralStyle 🠆

ImageStyle · Static. The style of every element of this style type. It starts as a copy of the framework defaults; changing one of its properties updates every such element, a property it leaves unset takes its default.

MouseCursorsSet 🠆

MouseCursorsSet · Read-only. The cursors the element shows: its override, else the set given to the control it is a part of, else its type’s general set, else DefaultMouseCursorsSet.

MouseCursorsSetOverride 🠆

MouseCursorsSet · The cursors of this element only, passed on to its parts that have none of their own.

Source 🠆

SourceData · The texture drawn. Assign a Texture2D or a content path. A new source lays the image out again.

StyleOverride 🠆

ImageStyle · A style for this element only, applied over the general style. Setting it to null takes its values back out.

Methods

Image() 🠆

Image(string name = null) · Creates an image. The name is used by GetElementByName.

Parameter Type Description
name string The element’s Name, which GetElementByName finds it by. Default: null.