PropertyGrid Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a Windows Forms PropertyGrid that can be added to a Microsoft Office Word document.
public ref class PropertyGrid : System::Windows::Forms::PropertyGrid
[System.ComponentModel.DefaultEvent("Click")]
[System.ComponentModel.DefaultProperty("Text")]
[System.ComponentModel.ToolboxItem(false)]
public class PropertyGrid : System.Windows.Forms.PropertyGrid
[<System.ComponentModel.DefaultEvent("Click")>]
[<System.ComponentModel.DefaultProperty("Text")>]
[<System.ComponentModel.ToolboxItem(false)>]
type PropertyGrid = class
inherit PropertyGrid
Public Class PropertyGrid
Inherits PropertyGrid
- Inheritance
-
PropertyGrid
- Attributes
Remarks
The Microsoft.Office.Tools.Word.Controls.PropertyGrid is different from a System.Windows.Forms.PropertyGrid. The Microsoft.Office.Tools.Word.Controls.PropertyGrid 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 PropertyGrid. Use the AddPropertyGrid method to add a new PropertyGrid to a document.
Properties
AltHTML | |
Automation | |
Bottom |
Gets the distance, in points, between the bottom edge of the PropertyGrid and the top edge of the document. |
Height |
Gets or sets the height of the PropertyGrid. |
InlineShape |
Gets the underlying InlineShape of the PropertyGrid. |
Left |
Gets or sets the distance, in points, between the left edge of the PropertyGrid and the left edge of the document. |
Right |
Gets the distance, in points, between the right edge of the PropertyGrid and the left edge of the document. |
Shape |
Gets the underlying Shape of the PropertyGrid. |
Top |
Gets or sets the distance, in points, between the top edge of the PropertyGrid and the top edge of the document. |
Width |
Gets or sets the width of the PropertyGrid in points. |
Methods
Activate() |
Activates the PropertyGrid. |
Delete() |
Deletes a dynamically created PropertyGrid from the document and removes it from the ControlCollection. |
Select() |
Selects the PropertyGrid. |
SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) | |
SetVisibleCore(Boolean) |