Skip to main content

HitInfo.Button Property

Gets the caption button located under the test point.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public DockPanelCaptionButton Button { get; }

Property Value

Type Description
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