Udostępnij za pośrednictwem


RadioGroup.CheckedRadioButtonId Property

Definition

Returns the identifier of the selected radio button in this group.

public virtual int CheckedRadioButtonId { [Android.Runtime.Register("getCheckedRadioButtonId", "()I", "GetGetCheckedRadioButtonIdHandler")] get; }
[<get: Android.Runtime.Register("getCheckedRadioButtonId", "()I", "GetGetCheckedRadioButtonIdHandler")>]
member this.CheckedRadioButtonId : int

Property Value

the unique id of the selected radio button in this group

Attributes

Remarks

Returns the identifier of the selected radio button in this group. Upon empty selection, the returned value is -1.

Java documentation for android.widget.RadioGroup.getCheckedRadioButtonId().

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