DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.State 屬性

定義

public:
 virtual property System::Windows::Forms::AccessibleStates State { System::Windows::Forms::AccessibleStates get(); };
public override System.Windows.Forms.AccessibleStates State { get; }
member this.State : System.Windows.Forms.AccessibleStates
Public Overrides ReadOnly Property State As AccessibleStates

屬性值

AccessibleStates 值的位元組合。 預設值為 Selectable

例外狀況

僅限 .NET 6 和更新版本: Ownernull

備註

State屬性值一律包含 Selectable 值。 如果選取控制項中的所有可見儲存格,此值 State 就會包含 Selected 值。 如果 隱藏 , OffscreenState 此值會包含值 DataGridViewTopLeftHeaderCell

適用於

另請參閱