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

Disable resizing of RadOutlookBar in a RadPane

3 Answers 103 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 18 Dec 2015, 02:55 PM

How can I prevent changing the width of the RadOutlookBar inside a RadPane?

What I did for now is to process SizeChanged event and force the RadOutlookBar's Width property to the Width of its LogicalTreeHelper.GetParent() but it's still possible to have the mouse catch the edge of the RadOutlookBar instead of the RadPane parent's splitter which gives the illusion that the splitter won't move.  Is there a better way to do this?

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Vandov
Telerik team
answered on 22 Dec 2015, 09:39 AM
Hello Pierre,

The RadoutlookBar exposes a property which controls whether you can resize it то Left and Right which is the thing you want to disable if I understand you correctly. You can do that by setting the IsVerticalResizerVisible property to "False", doing so you will not see and be able to resize the RadOutlookBar using that resizer.

I hope this information helps.

Kind regards,
Kiril Vandov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Pierre
Top achievements
Rank 1
answered on 22 Dec 2015, 01:41 PM

Oh, that's what it's for?  To me, the "vertical resizer" was the bar that splits the visible panel with the collapsed panels that allows to set the vertical size of the visible panel.  That's why I had discarded that property without even trying it.  I would have called the property "CanChangeWidth" or something more obvious.

 Nevertheless, it works.  Thanks.

 

0
Ahmed
Top achievements
Rank 1
answered on 19 Jan 2018, 08:43 PM
2 years later, i also discarded the **IsVerticalResizerVisible** property prematurely.
Tags
Docking
Asked by
Pierre
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Pierre
Top achievements
Rank 1
Ahmed
Top achievements
Rank 1
Share this question
or