Back to Devexpress

HitInfo.Button Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-hitinfo-f2429897.md

latest1.6 KB
Original Source

HitInfo.Button Property

Gets the caption button located under the test point.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public DockPanelCaptionButton Button { get; }
vb
Public ReadOnly Property Button As DockPanelCaptionButton

Property Value

TypeDescription
DevExpress.XtraBars.Docking.Helpers.DockPanelCaptionButton

A DevExpress.XtraBars.Docking.Helpers.DockPanelCaptionButton object representing the caption button located under the test point. null ( Nothing in Visual Basic) if there is no caption button under the test point.

|

Remarks

To determine the type of the particular visual element under the test point, read the HitInfo.HitTest property’s value.

See Also

HitTest

Header Buttons

HitInfo Class

HitInfo Members

DevExpress.XtraBars.Docking Namespace