Hi,
I'm brand new to Infragistics so this is likely a beginner issue but here goes...
When I specify an image for a ContentPane, when the pane is hid the image appears very large.
I have tried both .ico and .png file types.
Any ideas?
Troy
Hello Troy,
Could you please attach a screenshot of this behavior?
Thanks for the reply. Here's a screen print. Notice the issue on the left hand side of the screen.
Troy,
From what I can see from the default templates, the image is not restricted in respect of width and height, as well as its Stretch property is none. This means, that it will be allowed to take as much space as it wants.
If you are setting this in procedural code, you can give it width and height. If you are setting this at the Image property in xaml, you can use (copy) the default xaml files (that we ship in the DefaultStyles directory) and set widht/height properties of the image element.
You should be looking for the UnpinnedTabItemTemplateKey in the DockManagerGeneric.xaml file.
Could you please post the XAML required for setting the image width/height?
You would need to take our default templates/styles (which are included in the DefaultStyles directory) and set a Width and/or Height on the Image element (the template may be using AutoDisabledImage which is a custom derived Image element of ours that provides some support for rendering a disabled looking version of the element). Since this is about the tab item you would look at the PaneTabItem control templates.