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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기