共用方式為


ProgressBar.SecondaryProgress Property

Definition

Get the progress bar's current level of secondary progress. -or- Set the current secondary progress to the specified value.

public virtual int SecondaryProgress { [Android.Runtime.Register("getSecondaryProgress", "()I", "GetGetSecondaryProgressHandler")] get; [Android.Runtime.Register("setSecondaryProgress", "(I)V", "GetSetSecondaryProgress_IHandler")] set; }
[<get: Android.Runtime.Register("getSecondaryProgress", "()I", "GetGetSecondaryProgressHandler")>]
[<set: Android.Runtime.Register("setSecondaryProgress", "(I)V", "GetSetSecondaryProgress_IHandler")>]
member this.SecondaryProgress : int with get, set

Property Value

the current secondary progress, between #getMin() and #getMax()

Attributes

Remarks

Property getter documentation:

Get the progress bar's current level of secondary progress. Return 0 when the progress bar is in indeterminate mode.

Java documentation for android.widget.ProgressBar.getSecondaryProgress().

Property setter documentation:

Set the current secondary progress to the specified value. Does not do anything if the progress bar is in indeterminate mode.

Java documentation for android.widget.ProgressBar.setSecondaryProgress(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also