Hi,
I have a few questiones regarding the WinGrid.
1. I am struggling with aligning the text in the header of the WinGrid. I am only able to set it to Left, Right or Center. However, when align to Left, the text is to close to the border. Is there any way to align the text a few pixels away from the border, without use RowLayot?
2. I have my grid set to full row select, and are fine able to define the layout of the row. However, the active/focused row always have a dottered box around. I need this dottered box not to be shown, but I cannot figure out how to do that.
Thanks in regard,
Thomas
Hi Thomas,
thoms31 said:1. I am struggling with aligning the text in the header of the WinGrid. I am only able to set it to Left, Right or Center. However, when align to Left, the text is to close to the border. Is there any way to align the text a few pixels away from the border, without use RowLayot?
I don't see how a RowLayout would help. The only way I know of to do something like this would be to use a CreationFilter or a DrawFilter. CreationFilter would be easier, in my opinion. You could simply move the TextUIElement in the header over a little. If you are not familiar with CreationFilters, I recommend that you search the Infragistics Knowledge Base for articles and samples of CreationFilters. Also, get the Infragistics UIElementViewer Utility. It's a big help when working with UIElements.
thoms31 said:2. I have my grid set to full row select, and are fine able to define the layout of the row. However, the active/focused row always have a dottered box around. I need this dottered box not to be shown, but I cannot figure out how to do that.
HOWTO:How can I turn off the Focus Rectangle on an Infragistics Win Control?