DataGridViewHeaderCell.ButtonState Property
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.
Gets the buttonlike visual state of the header cell.
protected:
property System::Windows::Forms::ButtonState ButtonState { System::Windows::Forms::ButtonState get(); };
protected System.Windows.Forms.ButtonState ButtonState { get; }
member this.ButtonState : System.Windows.Forms.ButtonState
Protected ReadOnly Property ButtonState As ButtonState
Property Value
One of the ButtonState values; the default is Normal.
Remarks
A DataGridViewHeaderCell is like a button in that it can be clicked to set states, such as sorting or performing row-level selection. The ButtonState property uses System.Windows.Forms.ButtonState values to provide buttonlike visual states.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.