This is a migrated thread and some comments may be shown as answers.

Tag ScrollContentPresenter not found

1 Answer 158 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 17 Aug 2011, 06:22 PM
I'm building an application that has to work on a Laptop with a touch sensitive screen.  As such, I have to increase the size of buttons & scrollbars & such so a police officer can use the controls with their fingers while driving a car at the same time.  That means everything needs to be larger to be easily & quickly read.  So I did a search today to find an article on how to set the width of the vertical scrollbar in the RadGridView control.  I found one & I downloaded the code.  The problem is that the compiler is generating messages that read:

1. The tag 'ScrollContentPresenter' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'.
2. The type 'telerik:ScrollContentPresenter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

I have added the following xmlns tag:

xmlns:tl="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"

This has no effect,except to change the exact wording of the errors.

What do I need to do to get this to build?

Tony

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 18 Aug 2011, 08:23 AM
Hello Tony,

 

Most probably you have downloaded a Silverlight project. The ScrollContentPresenter under Silverlight is specially designed to work with RadGridView. Under WPF we use the native ScrollContentPresenter within the template of GridViewScrollViewer, please refer to the attached picture.


Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
GridView
Asked by
Tony
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or