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

RadTitleBar Button Problem

1 Answer 113 Views
TitleBar
This is a migrated thread and some comments may be shown as answers.
Ozcan Oksuz
Top achievements
Rank 1
Ozcan Oksuz asked on 20 Apr 2010, 09:49 AM
Hello,

I am trying to hide the close, minimize, maximize buttons in a RadTitleBar with the following code.
_titleBar.TitleBarElement.CloseButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;  
_titleBar.TitleBarElement.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;  
_titleBar.TitleBarElement.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed 

Close button is removed but minimize and maximize buttons remain. Is there a bug in the RadTitleBar or
am I doing something wrong.

Please help
Burhan Eyimaya

1 Answer, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 20 Apr 2010, 05:19 PM
Hello Ozcan,

Thanks for contacting us and for your question.

I have investigated the case and was able to reproduce the undesired behavior. I would like to inform you that the issue is already addressed and the fix for it will be available in the upcoming Q1 2010 SP2 we plan to release soon.

For the time being, you can use the following workaround:

this.radTitleBar1.TitleBarElement.SystemButtons.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

This will simply hide the layout panel that holds the system buttons making them also invisible.

I hope this helps.

Do not hesitate to get back to us in case you have further questions or need assistance.

Sincerely yours,
Deyan
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TitleBar
Asked by
Ozcan Oksuz
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or