Advanced Forum Search Results
-
I have a DataGrid created from TemplateColumns, binded to a PagedCollectionView.
After the user changes the selected row, I use the VisualTreeHelper in order to find the elements of the selected row and then apply changes in colors, borders, etc. Thus, the selected row is styled through code.
The problem is ...
-
Perhaps you should try to play with the following properties of the DataGrid:
VirtualizingStackPanel.VirtualizationMode="Recycling"
RowDetailsVisibilityMode="VisibleWhenSelected"
Please mark as answered if it helped
-
Did you check the mouse weel from the Windows control panel?
-
I had a similar problem, and I was able to partially solve it using the following:
1) Using a Grid insted of a Canvas
2) For the row highlights I found two methods, but both of them have their disadvantages:
a) Setting the Grid opacity inside the DataTemplate to a value less than 1, in order to allow highlights. The ...
-
Perhaps the place inside your ScrollViewer is overcrouded by many objects that paint but not shown on screen, thus reducing the performance of the application. In the ScrollViewer properties set
VirtualizingStackPanel.VirtualizationMode="Recycling"
to see if something changes.
Also, could you describe the elements that you have ...
-
There is no sense. In my case, I had a Silverlight 2 application that had a TextBox with TwoWay binding. Then, I changed it to an Image by editing the XAML (I forgot to remove the TwoWay binding). After publishing the application with Silverlight 2, everything was working fine, but as the Silverlight 3 runtime arrived, the images lost. I made the ...
-
There is no error! When using
Source="{Binding Path=myPath}"the images render. If it changes to
Source="{Binding Mode=TwoWay, Path=myPath}"
the images simply disappear.
where myPath is a relative URI
-
In Silverlight 2, a two way binding on an Image Source was allowed.
In silverlight 3 runtime, a similar binding does not allow the images to appear on screen, without throwing any exception.
-
Try
x:Name
insted of x:Key for the resxFileName
Please mark as anaswered if it helped
-
Normally you need two variables in your binding source. A boolean, binded to the IsChecked property and a string for the Content, like the following example:
<data:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding Mode=TwoWay, Path=A}" Content="{Binding ...