Change RadPageview background color in NavigationViewItem and Close button of a Form in Visual Style Builder

3 Answers 31 Views
Form PageView Themes and Visual Style Builder
Henri
Top achievements
Rank 2
Iron
Iron
Iron
Henri asked on 29 Jul 2024, 07:40 AM

Hi, I am customizing the theme VisualStudio2022Light. I have changed the purple color to the teal. However, I am not able to change the background and selected row in the theme.

 

When I run my application, it is still in purple.

I found a similar issue where I couldn't find where I can change the close button during click in the RadForm.

3 Answers, 1 is accepted

Sort by
0
Accepted
Henri
Top achievements
Rank 2
Iron
Iron
Iron
answered on 31 Jul 2024, 09:35 PM

Hi Dinko,

Thanks for your answer, I found what I was looking for.

To change the PageView in the NavigationView mode, just use the right click and select it.

About the form's close button, it uses another control (RadTitleBar). Once we change the color here, it reflects to the buttons in the RadForm.

0
Dinko | Tech Support Engineer
Telerik team
answered on 31 Jul 2024, 01:41 PM

Hello Henri,

Thank you for the provided images.

Looking at the second image it seems that you are using a different View, NavigationView to be more precise. Can you confirm that?

As for the button in the form, you want to modify the close button in the form only or in general. If you want to change the mouse-over effect of the Radbutton in general, you can modify the applied repository of the MouseOver visual state of the RadButtonElement.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Henri
Top achievements
Rank 2
Iron
Iron
Iron
answered on 01 Aug 2024, 03:15 AM

Hi Dinko,

I am facing the problem below. I have the SplitterElement with a fill and the 3 dots are in white. I want to remove the SplitterFill and leave it as white, however, how can I change the 3 dots color? It disappears because the color is white or transparent, I don't know.

Using teal.

After I remove the teal, I cannot see the 3 dots.

 

Dinko | Tech Support Engineer
Telerik team
commented on 05 Aug 2024, 10:18 AM

The three dots are represented by an image. The three do have white color and that is why you don't see them. If you go and set the DrawBackgroundImage property of the SplitterElementLayout to false, you can observe that the 3 dots disappear. If you want to have a different visual appearance, you can create a different image for the 3 dots and replace it in the BackgroundImage property value.

Henri
Top achievements
Rank 2
Iron
Iron
Iron
commented on 05 Aug 2024, 11:34 PM

Hi Dinko,

 

Awesome work, now I am able to change the image. However, I am changing the images of the MainSplitContainer and DocumentContainer and I don't see any change. I mean, I am not able to change the dots as image below.

I've been changing here and nothing happens.

Dinko | Tech Support Engineer
Telerik team
commented on 06 Aug 2024, 01:11 PM

You will need to modify the different state of the element. Different visual states have different settings:

 

Henri
Top achievements
Rank 2
Iron
Iron
Iron
commented on 14 Aug 2024, 07:36 AM

Hi Dinko,

Thanks for you support, it's been very hand.

I am using the RadLayoutManager. I noticed that the dots are in purple, same color of the original theme. How can I change the color?

Dinko | Tech Support Engineer
Telerik team
commented on 14 Aug 2024, 10:53 AM

Currently, Telerik UI for WinForms does not provide RadLayoutManager control. Can you elaborate more on the types of the elements in the picture? Also, can you share when these two dots appear over the cell? Any additional information will be highly appreciated.
Henri
Top achievements
Rank 2
Iron
Iron
Iron
commented on 14 Aug 2024, 09:49 PM

Hi Dinko, I hope it helps.

We use the Overlay sample.

Same code here.

I've added the RadOverlayManager.OverlayInstance.ThemeName to my code, but I haven't seen any change.

Henri
Top achievements
Rank 2
Iron
Iron
Iron
commented on 14 Aug 2024, 11:06 PM

Hi Dinko,
I found the option.

Dinko | Tech Support Engineer
Telerik team
commented on 15 Aug 2024, 09:51 AM

Thank you for the additional details and I am happy to hear that you have found a solution for your scenario. If you have any other questions, feel free to open a new forum thread.
Tags
Form PageView Themes and Visual Style Builder
Asked by
Henri
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Henri
Top achievements
Rank 2
Iron
Iron
Iron
Dinko | Tech Support Engineer
Telerik team
Share this question
or