Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Cannot change the VirtualizationMode attached property on an ItemsControl after Measure is called on the ItemsHost panel.

$
0
0

Hi, what is this error?

Cannot change the VirtualizationMode attached property on an ItemsControl after Measure is called on the ItemsHost panel.

I set the following in my style file:

<Style TargetType="DataGrid" BasedOn="{StaticResource KvfFrameworkElement}"><Setter Property="VirtualizingStackPanel.VirtualizationMode" Value="Standard" />
...

while i'm in design time wpf designer throw this exception and I cant see my design window but the application run normally!

what shuld I do please help me...

Thank


Amin Mashayekhi


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>