Or for that matte a way to change the highlight area? I have a range of text values of which the smallest is 'Alert'. When you select an icon only the text is highlighted. Since the text is barely 25% of the height of the icon and only a few letters across, the selection can be hard to see with the Application Style our graphic designer has chosen for a given client...
In the case of 'Alert' the highlight is less than 15% of the total space that appers to be available for that selection. My icons a listed vertically in 1 column and I have a series of vertical list views that change as selection change as you progress to the right to lead to a final confiugration choice...
This user control originally used the MS list view, which provided a better selection mechanism, but of course lacked the appearance properties the GD needed to provide a seemless look for the client... So either I missing some obvious properties or I am using the wrong view for what I want. Though the GD really prefered the icon size of Tile view...
No, there is no equivalent to FullRow Select for Tiles view, one reason being that there is no publicly exposed way to restrict the items to a single column.
tribbles said:This user control originally used the MS list view, which provided a better selection mechanism
Please elaborate if you could on how it is better. I just checked and as far as I could tell, the way selection is visually depicted, at least in Tiles view, is identical between UltraListView and the .NET ListView control. Both controls highlight only the text area,, applying the selected background color to the area "behind" the item and sub-item text.
Note that you can change the image size for any view using the UltraListView.ViewSettingsXXX.ImageSize property.
For me only the text is highlighted. I would like to have the icon and text highlighted. I also tried Icon view and it also only highlights the text. With the MS control both the image and the text are highlighted, though in icon view with the MS control, all of my text is shown nicely. With the infragestic control, it takes 3 lines to show all the text and it does not appear as nicely as the 2 lines used by the MS control. Thus, why I am using tile view instead of icon to ge a better visual appearance. However, only having the text highlighted instead of the image and text makes it very hard to see which item is selected for some of the smaller text entires like 'alert'.
Changing the modes between GDI and GDI+ didn't have any effect. I've submitted a feature request, though I disagree with the chat support guy, this is really a bug. Either way, I'm going back to the .NET control for now.
The 'Infragistics FileExplorer' sample, which ships with WinListView, demonstrates how to color wash the images when the associated item is selected (by default, the images do not depict the selected state), using the IUIElement DrawFilter interface. I attached the implementation here. Assign an instance of this class to the control's DrawFilter property.
You can change the amount of space available to the items in Icons view using the UltraListView.ViewSettingsIcons.ItemSize property; increasing the width component of this property gives the text more space, which might eliminate the need for more lines than the .NET ListView uses. Also, the .NET ListView is not a native .NET control, so it uses GDI (not GDI+) for text rendering, and GDI+ has some (ahem) issues with character kerning and spacing which affects the amount of spece required to display text. You can change this for WinListView (which uses GDI+ by default) using the TextRendering Mode property.