Skip to main content
All docs
V25.1
  • CalendarHitInfo.IsInNavigationButton() Method

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

    Namespace: DevExpress.XtraEditors.Calendar

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    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