通过


DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.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

例外

属性Owner的值为 null .

注解

State属性值始终包括Selectable该值。 如果DataGridViewColumn选定了包含单元格的值,则State包含Selected该值。 如果当前未显示拥有单元格,则 State 包含 Offscreen 该值。

适用于

另请参阅