GridItem 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實作 PropertyGrid 中的資料列。
public ref class GridItem abstract
public abstract class GridItem
type GridItem = class
Public MustInherit Class GridItem
- 繼承
-
GridItem
方格專案代表檢 PropertyGrid 視的階層。 您可以使用 GridItem 來取得格線狀態和內容的相關資訊。
GridItem 物件不應該快取,因為它們在存取時代表 狀態的 PropertyGrid 快照集,而且格線活動可能會處置它們。 通常會 PropertyGrid 在內部重新建立 GridItem 物件,而不會將檢視變更為使用者。
Grid |
初始化 GridItem 類別的新執行個體。 |
Expandable |
在衍生類別中覆寫時,取得值,指出是否可以擴展指定的屬性以顯示巢狀的屬性。 |
Expanded |
在衍生類別中覆寫時,取得或設定值,指出 GridItem 是否處於可以展開的狀態。 |
Grid |
|
Grid |
在衍生類別中覆寫時,取得這個 GridItem 的型別。 |
Label |
在衍生類別中覆寫時,取得這個 GridItem 的文字。 |
Parent | |
Property |
在衍生類別中覆寫時,取得與這個 PropertyDescriptor 相關的 GridItem。 |
Tag |
取得或設定與 GridItem 有關的使用者定義資料。 |
Value |
在衍生類別中覆寫時,取得這個 GridItem 的目前值。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
Select() |
在衍生類別中覆寫時,在 GridItem 中選取這個 PropertyGrid。 |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |