次の方法で共有


TrackBar クラス (2007 System)

更新 : 2007 年 11 月

Microsoft Office Excel ワークシートに追加できる Windows フォームの TrackBar を表します。

名前空間 :  Microsoft.Office.Tools.Excel.Controls
アセンブリ :  Microsoft.Office.Tools.Excel.v9.0 (Microsoft.Office.Tools.Excel.v9.0.dll 内)

構文

'宣言
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class TrackBar _
    Inherits TrackBar _
    Implements ISupportInitializeExtendedControl
'使用
Dim instance As TrackBar
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class TrackBar : TrackBar, ISupportInitializeExtendedControl

解説

Microsoft.Office.Tools.Excel.Controls.TrackBar は、System.Windows.Forms.TrackBar とは異なります。Microsoft.Office.Tools.Excel.Controls.TrackBar には、追加のメンバがあり、これにより、Excel ワークシートに追加できるようになり、また、追加のメソッドやプロパティが使用できるようになります。

New コンストラクタは、新しい TrackBar を作成する目的で使用しないでください。AddTrackBar メソッドを使用して新しい TrackBar をワークシートに追加します。

継承階層

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.TrackBar
          Microsoft.Office.Tools.Excel.Controls.TrackBar

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

TrackBar メンバ

Microsoft.Office.Tools.Excel.Controls 名前空間