Skip to main content

CalendarHitInfo.IsInNavigationButton() Method

Gets whether the test point is located in the calendar navigation button.

Namespace: DevExpress.XtraEditors.Calendar

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public bool IsInNavigationButton()

Returns

Type Description
Boolean

true if the test point is located in the calendar footer; otherwise, false.

Remarks

The example below demonstrates how to determine whether the DateNavigator control’s navigation button was clicked.

private void dateNavigator1_MouseClick(object sender, MouseEventArgs e) {
    CalendarHitInfo newHitInfo = dateNavigator1.GetHitInfo(e);
    if(newHitInfo.IsInNavigationButton()) {
        //Do something.
    }
}
See Also