Michael Erlinger
12.21.2011
Hello
I have found the solution / or a workaround:
I set the "nullText"-property to "space" and not to string.Empty or null !!!
[C#]DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit picEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); picEdit.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Zoom; picEdit.CustomHeight = 50; picEdit.NullText = " "; gridView.Columns["PersonenFoto"].ColumnEdit = picEdit; gridView.Columns["PersonenFoto"].MaxWidth = 50; gridView.Columns["PersonenFoto"].Width = 50; gridView.OptionsView.RowAutoHeight = true;
Now i saw no text in the image-column, if no image-data comes from the datasource.
Best regards
Michael
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.
Facebook
Twitter
Google+