WPF DataGrid

May 10, 2010 at 4:08 PM
Edited May 10, 2010 at 4:15 PM


I am binding the wpf toolkit datagrid using a DataTable.

The users now can click into the cells in the grid and modifiy the values displayed. How could I disable that?

Also, when I select any row in the grid,  the combobox and checked boxes controls on the screen are reset to the default value. How could I stop that? Is there something I need to configure?

The horizontal scrollbar is set to Auto. How could I make the scrollbar background transparent? It is now the default windowls xp control color.


May 10, 2010 at 4:10 PM

Set isreadonly to true

Mark Li

Raymond James & Associates


This communication is from Raymond James & Associates, Inc.’s institutional taxable fixed income Sales Strategy Group; it is not research. This communication is directed exclusively to institutional investors, for informational purposes only. The information provided herein is not complete and may not be relied on as such. We are only providing this communication on the condition that it will not form the basis for any investment decision or strategy you may make.

You must independently determine the appropriateness of an investment in any securities or strategy referred to herein based on the array of information available to you, applicable legal, tax, and accounting considerations, as well as your own investment strategy and risk tolerance. RJA disclaims responsibility for any such investment decision.

You should assume that RJA has a position and will transact in any of the securities mentioned in this communication. RJA may provide investment-banking services to any of the issuers mentioned in this communication.

The data and values described herein are calculated based on historical information and should not be relied upon to predict future values or prices. RJA has used sources it considers reliable. Any and all data, calculations or expressions reflect the judgment of the Sales Strategy Group employee at the time of writing and are subject to change without notice. RJA does not represent that this material is accurate, current or complete, and you should not rely upon it as such.