Hello.
I don't have much experience with infragistics styling and I'm having some problems with the background image. I'm using TabControl.ClientAreaAppearance and I can't set it to avoid repetition and position the image where I want (not centered). How can I do this?
Thanks!
Diego
Hi Diego,
Where do you want the image?
Hello Mike, thanks for the reply. I want the image on the top left corner with a few px of padding. Without repetition.
I agree, this would be a nice feature. I am pretty sure the current implementation just mimics when the inbox controls do. But it would be nice to have an extra option and I can see how it would be useful.
Here's a link where you can Submit a feature request to Infragistics.
Thanks Mike.
I end up using images from the whole size of the control and with incorporated paddings using transparency.
I think what I was looking for should be easier to do. I don't see why the user can pick an option of repetition and an option of positioning such as it would be with css properties (background-repeat and background-position). Can you (or myself) add this as a requested feature? Where?
Hi,
There's no built-in way to do that - unless you create an image with a little padding in the upper left and then a lot of padding on the bottom and right.
There are a couple of ways you could achieve what you want, though.
One option would be to simply place a PictureBox, or UltraPictureBox in the upper left of the SharedControls tab.
Another option would be to use a DrawFilter and handle the drawing of the TabPageAreaUIElement yourself. The PictureBox approach is probably easier.