protected override void OnMouseEnter(MouseEventArgs e)
        {
            base.OnMouseEnter(e);
            SliderNavRoutedEventArgs navMouseEnterArgs = new SliderNavRoutedEventArgs(YzSliderNavItem.SliderNavMouseEnterEvent, this);

            navMouseEnterArgs.MouseEnterItem = this.Content;
            RaiseEvent(navMouseEnterArgs);
        }
Example #2
0
 private void navItemMouseEnter(object sender, SliderNavRoutedEventArgs e)
 {
     this.sliderInnerMainListBox.ScrollIntoView(e.MouseEnterItem);
 }