Removing certain default elements from RadWizard

1 Answer 29 Views
Wizard
Chase
Top achievements
Rank 1
Chase asked on 23 Oct 2023, 08:31 PM
I am trying to remove the default top left gear icon and bottom left help text and icon from the RadWizard but I am unable to locate them in the control's properties. Is this something I am able to do or are these static to the control and unable to be changed?

1 Answer, 1 is accepted

Sort by
1
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 24 Oct 2023, 12:32 PM

Hi Chase,

Thank you for your interest in our RadWizard component for WinForms.

The gear icon in the upper right corner is represented by the IconElement of the Header element. Here is how you can remove it. You can also use the IconElement to place your own image if required.

this.radWizard1.WizardElement.PageHeaderElement.IconElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

Now for the help button, the HelpButton is located in the CommandArea of the WizardElement. To remove it, you can set its Visibility property to Collapsed.

this.radWizard1.WizardElement.CommandArea.HelpButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

Here is the result:

Let me know if further assistance is required.

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.

Chase
Top achievements
Rank 1
commented on 24 Oct 2023, 07:47 PM

Hello, 

That works for removing the HelpButton but it looks like the gear icon is still present to the left of the page title in the result.

Dinko | Tech Support Engineer
Telerik team
commented on 25 Oct 2023, 07:50 AM

I want to apologize for that. I have misunderstood your question in the first place. The provided code snippet will remove the gear icon on the right side. Accept my apologies for that. To remove the top left gear icon, you can use a similar approach. The TitleElement holding the Page title text and gear icon can be accessed from the PageHeaderElement. Here is how to can remove the icon and move the text to the left.

this.radWizard1.WizardElement.PageHeaderElement.TitleElement.DrawImage = false;
this.radWizard1.WizardElement.PageHeaderElement.TitleElement.TextImageRelation =  TextImageRelation.TextBeforeImage;

Here is the result:

 
Tags
Wizard
Asked by
Chase
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or