Edit this page

Disable the MouseWheel

There is no property that disables the mouse wheel in RadCoverFlow, but you could inherit the control and override the OnMouseWheel method, without calling base:

public class CoverFlow : RadCoverFlow
{
    protected override void OnMouseWheel(System.Windows.Input.MouseWheelEventArgs e)
    {
        //base.OnMouseWheel(e);
    }
}

Then use the new control in XAML:

<local:CoverFlow>
       <Rectangle Fill="Red" Width="200" Height="200" />
       <Rectangle Fill="Green" Width="200" Height="200" />
       <Rectangle Fill="Blue" Width="200" Height="200" />
       <Rectangle Fill="Magenta" Width="200" Height="200" />
</local:CoverFlow>
Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy