Android Guides | Samples

Android.Widget.SeekBar Class

A SeekBar is an extension of ProgressBar that adds a draggable thumb.

See Also: SeekBar

Syntax

[Android.Runtime.Register("android/widget/SeekBar", DoNotGenerateAcw=true)]
public class SeekBar : AbsSeekBar

Remarks

A SeekBar is an extension of ProgressBar that adds a draggable thumb. The user can touch the thumb and drag left or right to set the current progress level or use the arrow keys. Placing focusable widgets to the left or right of a SeekBar is discouraged.

Clients of the SeekBar can attach a NoType:android/widget/SeekBar$OnSeekBarChangeListener;Href=../../../reference/android/widget/SeekBar.OnSeekBarChangeListener.html to be notified of the user's actions.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Widget.SeekBar are listed below.

See Also: AbsSeekBar

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

SetOnSeekBarChangeListener(SeekBar+IOnSeekBarChangeListener)
Sets a listener to receive notifications of changes to the SeekBar's progress level.

Public Events