Hello,
when expanding the Explorerbar in Outlook-Style i use the NavigationPaneCollapsing/-Expanding-Event to handle splitter functions. In the events i get the PreferredWidth property.
I want to read out this value before the expand-event is raised. Where can i finde the normal width of the expanded Explorerbar when the Explorerbar is collapsed?
Thank you,
B. Moeller
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
You could get default width of navigation pane when navigation pane is collapsed from ultraExplorerBar1.NavigationPaneCollapsedWidth property of UltraExplorerBar.
If you want to get the default width of navigation pane you should use the following code just after InitializeComponent ()
int defultWidth = 0;
if (ultraExplorerBar1.NavigationPaneExpandedState == Infragistics.Win.UltraWinExplorerBar.NavigationPaneExpandedState.Collapsed)
defultWidth = ((Size)ultraExplorerBar1.GetType().GetProperty("DefaultSize", BindingFlags.CreateInstance | BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.NonPublic).GetValue(ultraExplorerBar1, null)).Width;
else
defultWidth = ultraExplorerBar1.Width;
I hope that this will helps you.
After more than a month i try it again...
I overrides the NavigationPaneExpanding to get the preferedWidth and set e.Cancel = True but the explorerbar has no interest on that and expands.
So i cannot use it...
Where to get the preferedWidth?