Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
Group header increases in height when displaying 16x16 icon
posted

Hi,

I have an explorer bar control to which I assign an icon as follow. The style of the explorerbar is set ControlContainer.

Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();

appearance1.Image = GrantEd.Common.WinUI.Resources.GrantEdIcons.GetIcon(GrantEd.Common.WinUI.Resources.Icons.notes_16);

ebAssociatedTaskItems.Groups["Notes"].Settings.AppearancesSmall.HeaderAppearance = appearance1;

The icon is 16x16.

As can been seen in the attached file, the group header increases in size. In addition, the icon is not displayed. Is there any other property I should be setting?

 

Cheers

Peter

 

explorer bar header.zip
Parents
  • 69832
    Offline posted

    The size at which the header images are displayed is determined by the UltraExplorerBar.ImageSizeLarge or UltraExplorerBar.ImageSizeSmall properties, depending on the value returned from the UltraExplorerBar.UseLargeGroupHeaderImagesResolved property. You can set the UltraExplorerBar.UseLargeGroupHeaderImages property explicitly to tell the control which image size to use for the group headers, and you can set the ImageSizeSmall/ImageSizeLarge properties to display the images at a particular size.

Reply Children
No Data