This is a migrated thread and some comments may be shown as answers.

Hide icon on RadColorDialog

3 Answers 63 Views
ColorDialog
This is a migrated thread and some comments may be shown as answers.
Lou
Top achievements
Rank 1
Lou asked on 12 Mar 2015, 03:34 PM
Hi, how would I hide the icon on the RadColorDialog (upper left corner)? 

Thanks,

-Lou

3 Answers, 1 is accepted

Sort by
0
Ralitsa
Telerik team
answered on 13 Mar 2015, 07:10 AM
Hi Lou,

Thank you for contacting us. 

You can set the ShowIcon property to false. Here is the code snippet: 
RadColorDialogForm form = this.radColorDialog1.ColorDialogForm as RadColorDialogForm;
form.ShowIcon = false;
this.radColorDialog1.ShowDialog();

Should you have further questions, I would be glad to help.

Regards,
Ralitsa
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Lou
Top achievements
Rank 1
answered on 16 Mar 2015, 01:47 PM
Thanks Ralitsa, that worked fine.

It's a bit odd that you can't just write:

this.raddColorDialog1.ColorDialogForm.ShowIcon = false;

I guess it's because the ColorDialogForm property is of type IRadColorDialog which does not include the ShowIcon property.

This makes things harder for end-users (since they can't use intellisense to discover a full list of what properties are available).

So, a small suggestion for improvement would be to fix this :)

Thanks for your help,

-Lou
0
Ralitsa
Telerik team
answered on 18 Mar 2015, 12:20 PM
Hi Lou, 

Thank you for your reply. 

I logged your feedback in our portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - FIX. RadColorDialog - provide easier way to set the ShowIcon property of RadColorDialogForm

I have also updated your Telerik Points.

Please do not hesitate to contact us if you have any additional questions.

Regards,
Ralitsa
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ColorDialog
Asked by
Lou
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
Lou
Top achievements
Rank 1
Share this question
or