مشاركة عبر


DataGridView الفئة

يمثل Windows Forms DataGridViewالتي يمكن إضافتها إلى ورقة عمل Excel Microsoft المكتب.

مساحة الاسم:  Microsoft.Office.Tools.Excel.Controls
التجميع:  Microsoft.Office.Tools.Excel.v4.0.Utilities (في Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

بناء الجملة

'إقرار
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class DataGridView _
    Inherits DataGridView
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class DataGridView : DataGridView

ملاحظات

Microsoft.Office.Tools.Excel.Controls.DataGridViewهو يختلف System.Windows.Forms.DataGridView. Microsoft.Office.Tools.Excel.Controls.DataGridViewلدى الأعضاء إضافى التي تمكينها لإضافتها إلى ورقة عمل Excel والتي بإعطائه طرق إضافى و خصائص.

لا تستخدم Newconstrucإلىr إلى إنشاء جديد DataGridView. استخدام AddDataGridView()الأسلوب إلى إضافة جديد DataGridViewإلى ورقة.

التسلسل الهيكلي للإرث

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

أمان العملية الجزئية

يتم تأمين العملية الجزئية لأي عضو عمومي ثابت (مشترك في Visual Basic) من هذا النوع. لن يتم ضمان تأمين العملية الجزئية لأي عضو مثيل.

راجع أيضًَا

المرجع

DataGridView الأعضاء

Microsoft.Office.Tools.Excel.Controls مساحة الاسم