Tulesha.KnobControl.Avalonia
11.3.6.1
dotnet add package Tulesha.KnobControl.Avalonia --version 11.3.6.1
NuGet\Install-Package Tulesha.KnobControl.Avalonia -Version 11.3.6.1
<PackageReference Include="Tulesha.KnobControl.Avalonia" Version="11.3.6.1" />
<PackageVersion Include="Tulesha.KnobControl.Avalonia" Version="11.3.6.1" />
<PackageReference Include="Tulesha.KnobControl.Avalonia" />
paket add Tulesha.KnobControl.Avalonia --version 11.3.6.1
#r "nuget: Tulesha.KnobControl.Avalonia, 11.3.6.1"
#:package Tulesha.KnobControl.Avalonia@11.3.6.1
#addin nuget:?package=Tulesha.KnobControl.Avalonia&version=11.3.6.1
#tool nuget:?package=Tulesha.KnobControl.Avalonia&version=11.3.6.1
KnobControl.Avalonia
Knob
A customizable Knob control for Avalonia UI framework that provides a circular slider interface. The control
supports
angular dragging,
click-to-position functionality, keyboard navigation, mouse wheel interaction, and tick-based positioning. Perfect for
potentiometers, audio controls, settings panels, and any scenario where you need a circular value selection interface.
API
| PROPERTY NAME | TYPE | DESCRIPTION |
|---|---|---|
| Value | double |
Inherited from RangeBase - Gets or sets the current value of the knob |
| Minimum | double |
Inherited from RangeBase - Gets or sets the minimum allowed value |
| Maximum | double |
Inherited from RangeBase - Gets or sets the maximum allowed value |
| SmallChange | double |
Inherited from RangeBase - Gets or sets the small change increment |
| LargeChange | double |
Inherited from RangeBase - Gets or sets the large change increment |
| Stroke | IBrush |
Inhetited from KnobBase - Gets or sets the brush for shape elements inside Knob base controls. |
| StartAngle | double |
Inherited from KnobBase - Gets or sets the start angle in degrees for the knob's sweep range (default: -240) |
| SweepAngle | double |
Inherited from KnobBase - Gets or sets the sweep angle in degrees that defines the knob's angular range (default: 300) |
| ArcThickness | double |
Inherited from KnobBase - Gets or sets the thckness of the arc indicator (default: 3.0) |
| IsHeaderValueVisible | bool |
Inherited from KnobBase - Gets or sets the visibility of the header control (default: true) |
| HeaderValueTemplate | IDataTemplate? |
Inherited from KnobBase - Gets or sets the data template for the header value display |
| HeaderValueHorizontalContentAlignment | HorizontalAlignment |
Inherited from KnobBase - Gets or sets the horizontal alignment of content in the header section (default: Stretch) |
| HeaderValueVerticalContentAlignment | VerticalAlignment |
Inherited from KnobBase - Gets or sets the vertical alignment of content in the header section (default: Stretch) |
| HeaderValuePlacement | KnobHeaderPlacement |
Inherited from KnobBase - Gets or sets the placement of the header control (default: Bottom) |
| IsPointerVisible | bool |
Gets or sets whether the pointer indicator is visible (default: true) |
| PointerThickness | double |
Gets or sets the thickness of the pointer indicator (default: 3.0) |
| PointerSize | double |
Gets or sets the size of the pointer indicator (default: 10.0) |
| TickFrequency | double |
Gets or sets the interval between tick marks for value snapping |
| Ticks | AvaloniaList<double>? |
Gets or sets a collection of custom tick values for precise positioning |
| MinMaxTicksSize | double |
Gets or sets the size of the minimum and maximum ticks (default: 8.0) |
| TicksSize | double |
Gets or sets the size of the ticks (default: 4.0) |
| TicksThickness | double |
Gets or sets the thicknes of the ticks (default: 1.0) |
| IsSnapToTickEnabled | bool |
Gets or sets whether the knob automatically snaps to the closest tick mark |
Demo
KnobEndless
KnobEndless is an extension of the original Knob that introduces endless behavior. Perfect for encoders or
controls like oscilloscope knobs without stoppers.
API
| PROPERTY NAME | TYPE | DESCRIPTION |
|---|---|---|
| Value | double |
Inherited from RangeBase - Gets or sets the current value of the knob |
| Minimum | double |
Inherited from RangeBase - Gets or sets the minimum allowed value |
| Maximum | double |
Inherited from RangeBase - Gets or sets the maximum allowed value |
| SmallChange | double |
Inherited from RangeBase - Gets or sets the small change increment |
| LargeChange | double |
Inherited from RangeBase - Gets or sets the large change increment |
| Stroke | IBrush |
Inhetited from KnobBase - Gets or sets the brush for shape elements inside Knob base controls. |
| StartAngle | double |
Inherited from KnobBase - Gets or sets the start angle in degrees for the knob's sweep range (default: -240) |
| SweepAngle | double |
Inherited from KnobBase - Gets or sets the sweep angle in degrees that defines the knob's angular range (default: 300) |
| ArcThickness | double |
Inherited from KnobBase - Gets or sets the thckness of the arc indicator (default: 3.0) |
| IsHeaderValueVisible | bool |
Inherited from KnobBase - Gets or sets the visibility of the header control (default: true) |
| HeaderValueTemplate | IDataTemplate? |
Inherited from KnobBase - Gets or sets the data template for the header value display |
| HeaderValueHorizontalContentAlignment | HorizontalAlignment |
Inherited from KnobBase - Gets or sets the horizontal alignment of content in the header section (default: Stretch) |
| HeaderValueVerticalContentAlignment | VerticalAlignment |
Inherited from KnobBase - Gets or sets the vertical alignment of content in the header section (default: Stretch) |
| HeaderValuePlacement | KnobHeaderPlacement |
Inherited from KnobBase - Gets or sets the placement of the header control (default: Bottom) |
| ArrowSize | double |
Gets or sets the arrow size. (default: 10.0) |
| GripsDash | AvaloniaList<double> |
Gets or sets the dash list of the grips (default: null) |
| GripsThickness | double |
Gets or sets the thickness of the grips (default: 3.0) |
Demo
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.