次の方法で共有


NumericUpDown Class

Definition

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

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

Remarks

The Microsoft.Office.Tools.Word.Controls.NumericUpDown is different from a System.Windows.Forms.NumericUpDown. The Microsoft.Office.Tools.Word.Controls.NumericUpDown 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 NumericUpDown. Use the AddNumericUpDown method to add a new NumericUpDown to a document.

Properties

AltHTML
Automation
Bottom

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

Height

Gets or sets the height of the NumericUpDown.

InlineShape

Gets the underlying InlineShape of the NumericUpDown.

Left

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

Right

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

Shape

Gets the underlying Shape of the NumericUpDown.

Top

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

Width

Gets or sets the width of the NumericUpDown in points.

Methods

Activate()

Activates the NumericUpDown.

Delete()

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

Select()

Selects the NumericUpDown.

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

Applies to