Table of Contents

Class FiberElementProps

Namespace
Velvet
Assembly
Velvet.Docs.dll

Type-safe property bag for a VNode (text, tooltip, enabled/visible, field value, and element-specific settings), passed as the props: argument of the V.* factories.

public sealed class FiberElementProps
Inheritance
object
FiberElementProps

Fields

Empty

Shared read-only instance with no properties set; throws if mutated.

Properties

Anchored

Anchored-specific settings (the 3D Transform this element's screen position tracks).

Aria

Carried aria-* attribute values (key → value), matched by the aria-[key=value]: / aria-[key]: variants. Stored in the reconciler's per-element side-table like Data (UI Toolkit has no HTML attributes). Null = none.

Choices

Choices for DropdownField / RadioButtonGroup.

Data

Carried data-* attribute values (key → value), the UI-Toolkit stand-in for HTML data attributes. UI Toolkit has no attributes, so these are stored in the reconciler's per-element side-table and matched by the data-[key=value]: / data-[key]: variants. Null = none.

DelegatesFocus

Maps to the element's delegatesFocus: focusing this element forwards to its first focusable child, and the focus rings skip the element itself.

DndContext

Drag-and-drop scope configuration for this container element. Draggables and droppables pair with their nearest ancestor scope at event time.

DragOverlay

Marker for the V.DragOverlay positioner (the framework-positioned drag preview).

Draggable

Drag-source configuration — the element carrying it is the drag node itself.

Droppable

Drop-target configuration.

Enabled

Maps to SetEnabled().

FieldValue

Generic binding for BaseField<T>.value.

FocusScope

Focus-scope behavior for this container element. Attachable to ANY container — the modal Div you already have can be the scope; V.FocusScope is sugar for when no container exists yet.

Focusable

Whether the element is focusable.

Particles

Particles-specific settings (the effect the element simulates and draws).

SceneView

SceneView-specific settings (the camera whose output the element displays).

ScrollView

ScrollView-specific settings.

Slider

Slider-specific settings.

TabIndex

Maps to the element's tabIndex. Positive values sort ahead of 0 in the sequential (Tab) ring. Caution: on runtime panels, -1 removes the element from BOTH the Tab ring AND 2D arrow/dpad/stick navigation — it is not the web's "focusable but not tab-reachable". For a group with one Tab stop, use a focus scope with SingleTabStop instead.

Text

Text for Label / Button.

TextField

TextField-specific settings.

Tooltip

Tooltip text.

Visible

When false, hides the element by toggling its "hidden" USS class.