NumericUpDown Class (2007 System)
Represents a Windows Forms NumericUpDown that can be added to a Microsoft Office Excel worksheet.
Namespace: Microsoft.Office.Tools.Excel.Controls
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class NumericUpDown _
Inherits NumericUpDown _
Implements ISupportInitializeExtendedControl
'Usage
Dim instance As NumericUpDown
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class NumericUpDown : NumericUpDown,
ISupportInitializeExtendedControl
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class NumericUpDown : public NumericUpDown,
ISupportInitializeExtendedControl
public class NumericUpDown extends NumericUpDown implements ISupportInitializeExtendedControl
Remarks
The Microsoft.Office.Tools.Excel.Controls.NumericUpDown is different from a System.Windows.Forms.NumericUpDown. The Microsoft.Office.Tools.Excel.Controls.NumericUpDown has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.
Do not use the New constructor to create a new NumericUpDown. Use the AddNumericUpDown method to add a new NumericUpDown to a worksheet.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UpDownBase
System.Windows.Forms.NumericUpDown
Microsoft.Office.Tools.Excel.Controls.NumericUpDown
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.