Unplanned
Last Updated: 03 Jan 2017 20:55 by ADMIN
ADMIN
Pavel R. Pavlov
Created on: 02 Sep 2014 12:38
Category: OutlookBar
Type: Bug Report
5
OutlookBar: Horizontal splitter does not preserve its position
When the ItemsSource of the control is populated from a background thread, users are not allowed to manually set the position of the horizontal splitter.
2 comments
ADMIN
Pavel R. Pavlov
Posted on: 13 Jan 2015 14:55
This issue is observed whenever the ItemsSource of the control is not initialized when loaded. If customers assign it on a later stage (e.g. async loading or even button click) the horizontal splitter will not behave by design.
Michael
Posted on: 12 Jan 2015 23:11
Is it actually when it's populated from a background thread ?
I found that it was when it was populated in an async method :

async void Init()
{
   var items = await GetItems();
   MenuItems.Add(items);
}