For my application I implemented a class to load and save the 'layout' of the XamOutlookBar. In my case the layout contains the visible groups, selected group, Width, and IsMinimized state of the XamOutlookBar control. Everything works fine, except the width. If the XamOutlookBar is minimized, the width is the actual width of the minimized outlook bar, but I need to store the non-minimized width. How can I get the non-minimized with of the XamOutlookBar (of course w/o storing it somewhere externally)?
Best regards,
Rainer
Update:
I have just seen that there exists a MinimizedWidth property, but it is set to NaN, even if IsMinimized is true. Probably this is a bug. I guess that Width should store the non-minimized width, and MinimizedWidth the minimized width. But with the current implementation only Width seems to be used.
Hi Rainer -
Although we track the 'last expanded (i.e., non-minimized) width' internally, we are not currently exposing this value through a public property. If you would like to see this added to the control please submit a feature request here: http://devcenter.infragistics.com/Protected/RequestFeature.aspx
Thanks.
JoeM
Hello Joe,
thanks for you reply. I just subnitted a feature request.
Regards,
NP. In the interim you could try to track this value yourself by listening to the NavigationPaneMinimizing event and saving the Width of the control.
I tested your suggestion and it works.
Thanks again.