Hi
Im using the 2009.3.916.1030 build coverflow and I cannot see how to display the scrollbar navigation which was achievable in the previous release using the NavigationPanelVisibility property - this property seems to have disappeared ?
Also I want to be able to scroll the mouse wheel to navigate through my coverflow items and have tried implementing the MouseWheelEvent using a variation of the code in this page however my event handler never gets called.
Any ideas ?
Sample code is below. Thanks
XAML
.CS
Im using the 2009.3.916.1030 build coverflow and I cannot see how to display the scrollbar navigation which was achievable in the previous release using the NavigationPanelVisibility property - this property seems to have disappeared ?
Also I want to be able to scroll the mouse wheel to navigate through my coverflow items and have tried implementing the MouseWheelEvent using a variation of the code in this page however my event handler never gets called.
Any ideas ?
Sample code is below. Thanks
XAML
<telerikNavigation:RadCoverFlow x:Name="coverFlow" Background="Transparent"
OffsetY="75"
CameraViewpoint="Center"
RotationY="40"
ItemScale="0.75"
ItemWidth="225"
ItemHeight="225"
MouseWheel="coverFlow_MouseWheel"
ContentType="Image">
OffsetY="75"
CameraViewpoint="Center"
RotationY="40"
ItemScale="0.75"
ItemWidth="225"
ItemHeight="225"
MouseWheel="coverFlow_MouseWheel"
ContentType="Image">
.CS
void coverFlow_MouseWheel(object sender, MouseWheelEventArgs e) |
{ |
if (e.Delta < 0) |
{ |
if (this.coverFlow.SelectedIndex < this.coverFlow.Items.Count) |
this.coverFlow.SelectedIndex += 1; |
} |
else |
{ |
if (this.coverFlow.SelectedIndex > 0) |
this.coverFlow.SelectedIndex -= 1; |
} |
} |