Search found 3 matches

by Thanatos
06 Jul 2020, 10:49
Forum: General Discussion
Replies: 3
Views: 333

Re: Cast exception with ItemsControl

Sorry I didn't see you answered my topic!

Yes I'm using NoesisGUI 3.0. I will try your suggestion, thank you!
by Thanatos
17 Jun 2020, 10:14
Forum: General Discussion
Replies: 3
Views: 333

Re: Cast exception with ItemsControl

Ok I found a solution: I took the ItemsControl parent and then removed the SessionList in the InitializeComponent to create the ItemControl directly into FillSessionsList and set the parent content with it, it worked!
by Thanatos
16 Jun 2020, 19:02
Forum: General Discussion
Replies: 3
Views: 333

Cast exception with ItemsControl

Hello, I am stuck with a cast problem on two ItemsControl which have for ItemPanel a WrapPanel and a StackPanel. Here is the code for the WrapPanel: <ItemsControl x:Name="SessionsList" Style="{StaticResource SessionPanelStyle}"> <!--GENERATED SESSION TILES HERE--> </ItemsControl> <Style x:Key="Sessi...