Class SliderWidgetController
A recyclable widget controller for volume sliders.
Inherited Members
Namespace: SociallyDistant.Core.UI.Recycling
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class SliderWidgetController : RecyclableWidgetController
Properties
Callback
Gets or sets a callback to execute when the slider changes.
Declaration
public Action<float>? Callback { get; set; }
Property Value
Type | Description |
---|---|
Action<float> |
MaximumValue
Gets or sets the maximum possible value of the slider.
Declaration
public float MaximumValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MinimumValue
Gets or sets the minimum value of the slider.
Declaration
public float MinimumValue { get; set; }
Property Value
Type | Description |
---|---|
float |
Value
Gets or sets the current value of the slider.
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
Build(ContentWidget)
Declaration
public override void Build(ContentWidget destination)
Parameters
Type | Name | Description |
---|---|---|
ContentWidget | destination |
Overrides
Recycle()
Declaration
public override void Recycle()