Compartir a través de


RadioButton Class

Definition

Represents a Windows Forms RadioButton that can be added to a Microsoft Office Word document.

public ref class RadioButton : System::Windows::Forms::RadioButton
[System.ComponentModel.DefaultEvent("CheckedChanged")]
[System.ComponentModel.DefaultProperty("Checked")]
[System.ComponentModel.ToolboxItem(false)]
public class RadioButton : System.Windows.Forms.RadioButton
[<System.ComponentModel.DefaultEvent("CheckedChanged")>]
[<System.ComponentModel.DefaultProperty("Checked")>]
[<System.ComponentModel.ToolboxItem(false)>]
type RadioButton = class
    inherit RadioButton
Public Class RadioButton
Inherits RadioButton
Inheritance
RadioButton
Attributes

Remarks

The Microsoft.Office.Tools.Word.Controls.RadioButton is different from a System.Windows.Forms.RadioButton. The Microsoft.Office.Tools.Word.Controls.RadioButton has additional members that enable it to be added to a Word document and that give it additional methods and properties.

Do not use the constructor to create a new RadioButton. Use the AddRadioButton method to add a new RadioButton to a document.

Properties

AltHTML
Automation
Bottom

Gets the distance, in points, between the bottom edge of the RadioButton and the top edge of the document.

Height

Gets or sets the height of the RadioButton.

InlineShape

Gets the underlying InlineShape of the RadioButton.

Left

Gets or sets the distance, in points, between the left edge of the RadioButton and the left edge of the document.

Right

Gets the distance, in points, between the right edge of the RadioButton and the left edge of the document.

Shape

Gets the underlying Shape of the RadioButton.

Top

Gets or sets the distance, in points, between the top edge of the RadioButton and the top edge of the document.

Width

Gets or sets the width of the RadioButton in points.

Methods

Activate()

Activates the RadioButton.

Delete()

Deletes a dynamically created RadioButton from the document and removes it from the ControlCollection.

Select()

Selects the RadioButton.

SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)
SetVisibleCore(Boolean)

Applies to