Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
How can I access the XamCalendar 'CalendarItemArea' visual region?
posted

Hi,

Does anyone know how I can access the CalendarItemArea visual region in the XamCalendar control?

Here is an example of what I am trying to do:

private void MonthlyView_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
if (Monthly.IsChecked.Value == true)
{
Point pt = e.GetPosition((UIElement)sender);

HitTestResult result = VisualTreeHelper.HitTest(???, pt)

e.Handled = true;
}
}

Thanks,

-Jeff

Parents Reply Children
No Data