csharp
public sealed class SliderA value chosen by dragging a thumb along a track.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (5)
protected override string TagNameThe element name this type answers to when a caller does not choose one.
protected override AccessibleRole NativeRoleprotected override string? NativeAccessibleValuepublic float Valuepublic static readonly UiPropertyKey ValuePropertyIdentity for Value.
Events (1)
public Action<Slider, float>? ValueChangedRaised when the value changes, however it changed.
Methods (4)
protected override void OnCreated()Builds whatever this element is made of, once, as it joins a document.
protected override void OnDraw(DrawContext context)Draws whatever this element is, beyond what a stylesheet can describe.
protected override void OnBoundsChanged()Called when the bounds move, so a subclass can bring its value back inside them.
public void ClearValue()Unsets Value, so it takes its default or its ancestor's value again.
Used by (46, showing 40)
- GalleryHelloUi
- AccessibilityNotificationTestsVixen.Ui.Controls.Tests
- AccessibilityTreeTestsVixen.Ui.Controls.Tests
- BindReachSheetVixen.Ui.Controls.Tests
- BindReachTestsVixen.Ui.Controls.Tests
- ColorPickerVixen.Ui.Controls.Advanced
- ControlThemeVisualTestsVixen.Ui.Controls.Tests
- ControlVisualTestsVixen.Ui.Controls.Tests
- FactSheetVixen.Ui.Controls.Tests
- GradientEditorVixen.Ui.Controls.Advanced
- GradientEditorTestsVixen.Ui.Controls.Advanced.Tests
- KeyValueListTestsVixen.Ui.Controls.Tests
- MarkupTestsVixen.Ui.Controls.Tests
- MatchedVixen.Ui.Controls.Tests
- MismatchedVixen.Ui.Controls.Tests
- MixerVixen.Ui.Controls.Tests
- NullableVixen.Ui.Controls.Tests
- PropertyGridVixen.Ui.Controls.Advanced
- PropertyGridTestsVixen.Ui.Controls.Advanced.Tests
- RangeInteractionTestsVixen.Ui.Controls.Tests
- SelectionTestsVixen.Ui.Controls.Tests
- SliderThumbContrastTestsVixen.Ui.Controls.Tests
- SurfaceTestsVixen.Ui.Controls.Tests
- TabbedSheetVixen.Ui.Controls.Tests
- TwoWayTypeTestsVixen.Ui.Controls.Tests
- AudioMixerViewVixen.Editor.AssetEditors
- AudioMixerViewTestsVixen.Editor.AssetEditors.Tests
- BrushInspectorMarkupTestsVixen.Editor.Terrain.Tests
- ByIdVixen.Editor.Texturing.Tests
- ByModelVixen.Editor.Texturing.Tests
- ByValueVixen.Editor.Texturing.Tests
- CompositeTestsVixen.Editor.Inspector.Tests
- DrawerTestsVixen.Editor.Inspector.Tests
- LayerRowKeyTestsVixen.Editor.Texturing.Tests
- LayerRowViewVixen.Editor.Texturing
- LayerStackEditingTestsVixen.Editor.Texturing.Tests
- LayerStackThemeTestsVixen.Editor.Texturing.Tests
- LayerStackViewVixen.Editor.Texturing
- MarkupBindingVixen.Editor.Inspector
- MarkupBindingTestsVixen.Editor.Inspector.Tests