PageAdapter.RegisterRadioButton(RadioButton) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a radio button control to the collection for a specified radio button group.
public:
virtual void RegisterRadioButton(System::Web::UI::WebControls::RadioButton ^ radioButton);
public virtual void RegisterRadioButton (System.Web.UI.WebControls.RadioButton radioButton);
abstract member RegisterRadioButton : System.Web.UI.WebControls.RadioButton -> unit
override this.RegisterRadioButton : System.Web.UI.WebControls.RadioButton -> unit
Public Overridable Sub RegisterRadioButton (radioButton As RadioButton)
Parameters
- radioButton
- RadioButton
The RadioButton to add to the collection.
Remarks
The PageAdapter class uses a ListDictionary object to maintain a list of radio button groups. Each element in ListDictionary is a collection of the RadioButton controls in a radio button group. The RegisterRadioButton method adds a RadioButton control to the appropriate collection, creating the collection if it does not already exist, and creating ListDictionary if there are no previously registered RadioButton controls.
Radio button control adapters use the RegisterRadioButton and GetRadioButtonsByGroup methods to reference the other RadioButton controls in a radio button group.
Applies to
See also
Comentaris
https://aka.ms/ContentUserFeedback.
Properament: al llarg del 2024 eliminarem gradualment GitHub Issues com a mecanisme de retroalimentació del contingut i el substituirem per un nou sistema de retroalimentació. Per obtenir més informació, consulteu:Envieu i consulteu els comentaris de