Class VButton
- Namespace
- Velvet.Experimental
- Assembly
- Velvet.Docs.dll
EXPERIMENTAL. Initializer-style builder for a button. Maps to Button(string?, string?, Action?, string?, string?, string?, bool?, StyleOverrides?, Func<VisualElement, Action>?, Func<VisualElement, VisualElement>?, string?, string?, string?, VNode?[]?, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?).
public sealed class VButton : VBuilder
- Inheritance
-
objectVButton
- Inherited Members
Constructors
Properties
- Enabled
When false, disables the button.
- OnClick
Click handler. When null, no click event is bound.
- Text
Button label text. Coexists with children.