menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfRadioButton - API Reference

    Show / Hide Table of Contents

    Class SfRadioButton

    Represents the SfRadioButton class. SfRadioButton is a selection control that allows users to select an option from a set of options.

    Inheritance
    System.Object
    ToggleButton
    SfRadioButton
    Inherited Members
    ToggleButton.IsCheckedProperty
    ToggleButton.TextProperty
    ToggleButton.TextColorProperty
    ToggleButton.FontFamilyProperty
    ToggleButton.FontSizeProperty
    ToggleButton.FontAttributesProperty
    ToggleButton.IsThreeStateProperty
    ToggleButton.CheckedColorProperty
    ToggleButton.UncheckedColorProperty
    ToggleButton.HorizontalTextAlignmentProperty
    ToggleButton.PaddingProperty
    ToggleButton.LineBreakModeProperty
    ToggleButton.BorderWidthProperty
    ToggleButton.ControlSizeProperty
    ToggleButton.IsChecked
    ToggleButton.Text
    ToggleButton.TextColor
    ToggleButton.FontFamily
    ToggleButton.FontSize
    ToggleButton.FontAttributes
    ToggleButton.IsThreeState
    ToggleButton.CheckedColor
    ToggleButton.UncheckedColor
    ToggleButton.HorizontalTextAlignment
    ToggleButton.Padding
    ToggleButton.LineBreakMode
    ToggleButton.BorderWidth
    ToggleButton.ControlSize
    ToggleButton.StateChanged
    Namespace: Syncfusion.XForms.Buttons
    Assembly: Syncfusion.Buttons.XForms.dll
    Syntax
    public class SfRadioButton : ToggleButton, IParentThemeElement, IThemeElement

    Constructors

    SfRadioButton()

    Initializes a new instance of the SfRadioButton class.

    Declaration
    public SfRadioButton()

    Fields

    GroupKeyProperty

    Gets or sets the group key for SfRadioButton. This is a Bindable property.

    Declaration
    public static readonly BindableProperty GroupKeyProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    GroupKey

    Gets or sets the group key for SfRadioButton.

    Declaration
    public SfRadioGroupKey GroupKey { get; set; }
    Property Value
    Type Description
    SfRadioGroupKey

    Methods

    OnMeasure(Double, Double)

    Method is called when a layout measurement happens.

    Declaration
    protected override SizeRequest OnMeasure(double widthConstraint, double heightConstraint)
    Parameters
    Type Name Description
    System.Double widthConstraint

    The width constraint of the control.

    System.Double heightConstraint

    The height constraint of the control.

    Returns
    Type Description
    Xamarin.Forms.SizeRequest

    The size of the control.

    Overrides
    ToggleButton.OnMeasure(Double, Double)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved