Unplanned
Last Updated: 02 Jul 2020 15:29 by ADMIN
Curtis
Created on: 25 Jun 2020 21:31
Category: UI for WinForms
Type: Bug Report
0
ElementHierarchyEditor: Image related properties do not work as expected

UI for WinForms - Latest version.

RadRibbonBarBackstageView - Edit UI Elements

RootRadElement.BackstageViewElement.BackstageItemsPanelElement.BackgroundImage

Click the … button and select your image.

 

To REMOVE this image you SHOULD be able to do the following:

click on the property BackgroundImage which should highlight the image-string completely.

click delete.

done.

What you HAVE to do is this: 

click on the property BackgroundImage.

click delete.

BEFORE YOU LEAVE THIS PROPERTY you have to click the … box

Once the box opens you have to click "Cancel"

 

Right below this property is BackgroundImageLayout - set to "Center"

There's a dropdown arrow presumably to allow you to change the layout but nothing happens when you click it.

 

*Missing Property?*

Whatever image you place in this control it gets stretched and there doesn't appear to be any way to avoid this:

place an image.

run the winforms ap.

set the main form in normal mode (not maximized) and resize the height.

Your image will stretch, shrink...this is not a UI property that should be presumed.  We should be able to set None, Tile, Center, Stretch or Zoom.

 

Still *LOVE* your products :)

Kindest regards,

Curtis Smith 

1 comment
ADMIN
Todor Vyagov
Posted on: 02 Jul 2020 15:29

Hi Curtis,

Thank you for the detailed explanation. I have reproduced the described behavior on my side and confirm this is an issue.

I have also updated your Telerik points as a small sign of gratitude for bringing this issue to our attention. 

Workaround:

You can remove the BackgroundImage or the Image property by right-clicking the item in the property grid and select the "Reset local value" option from the context menu.

The BackgroundImageLayout and ImageLayout properties for some reason do not list all the available options when entering edit mode. To change the value, you can manually type the desired text in the editor None, Tile, Center, Stretch, or Zoom and press the Enter key to submit the value.

Regards,
Todor Vyagov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.