Class VImage
- Namespace
- Velvet.Experimental
- Assembly
- Velvet.Docs.dll
EXPERIMENTAL. Initializer-style builder for an image. Maps to Image(string?, string?, string?, StyleOverrides?, Func<VisualElement, Action>?, string?, string?, string?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?). Images are leaves; children added via the collection initializer are ignored. The sprite/texture is typically set through Styles.
public sealed class VImage : VBuilder
- Inheritance
-
objectVImage
- Inherited Members
Constructors
Properties
- Styles
Inline style overrides applied on top of USS classes (sprite / image typically set here).
- WhileFocusClass
USS class toggled while the element holds keyboard/UI focus (gesture-driven).
- WhileHoverClass
USS class toggled while the pointer hovers the element (gesture-driven).
- WhileTapClass
USS class toggled while the pointer is pressed on the element (gesture-driven).