Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
785
Removing All Display of Cell Content
posted

Hello,

I am manually adding UnboundField instances to XamDataGrid.FieldLayouts. These fields are bound to something whose actual type is bool. However, I'm setting UnboundField.DataType to typeof(string). I do this because I do not what checkboxes to appear in the grid. However, using typeof(string) causes either "True" or "False" to appear! I don't want this either. What I want is for no content to be displayed at all. (The cell's value will be communicated to the user by setting CellValuePresenter.Background based on the cell's content.) How may I do this?

Thanks,

Dave