Classe PropertyGrid (System 2007)
Aggiornamento: novembre 2007
Rappresenta una classe PropertyGrid Windows Form che può essere aggiunta a un documento di Microsoft Office Word.
Spazio dei nomi: Microsoft.Office.Tools.Word.Controls
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Sintassi
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Class PropertyGrid _
Inherits PropertyGrid _
Implements ISupportInitializeExtendedControl
Dim instance As PropertyGrid
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class PropertyGrid : PropertyGrid,
ISupportInitializeExtendedControl
Note
La classe Microsoft.Office.Tools.Word.Controls.PropertyGrid è diversa da una classe System.Windows.Forms.PropertyGrid. La classe Microsoft.Office.Tools.Word.Controls.PropertyGrid presenta membri aggiuntivi che ne consentono l'aggiunta a un documento di Word e assegnano ad essa ulteriori metodi e proprietà.
Non utilizzare il costruttore New per creare una nuova classe PropertyGrid. Utilizzare il metodo AddPropertyGrid per aggiungere una nuova classe PropertyGrid a un documento.
Gerarchia di ereditarietà
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.PropertyGrid
Microsoft.Office.Tools.Word.Controls.PropertyGrid
Codice thread safe
Qualsiasi membro static (Shared in Visual Basic) pubblico di questo tipo è thread-safe. I membri di istanza non sono garantiti come thread-safe.