Advanced Forum Search Results
-
I want to bind to a Dictionary with a complex key. My dictionary looks like below:
Dictionary<TagOption, ValueObject> subscribedTags = new Dictionary<TagOption, ValueObject>(new TagOption.EqualityComparer());
So, the 'TagOption' is the key and it looks like below:
public class TagOption
{
public string ...
-
I have the need to present a simple 'table' but I don't need all the functionality or the visual style of the datagrid. So, I want to present my information in a standard Grid with rows and columns. But can I bind let's say a collection of items to the RowDefinitions so that each item in the list adds a new row through binding?
If ...
-
I need some suggestions on how to achieve the following:
We play a live video and present information to the user through different visual elements. If lots of elements are added at the same time it causes the video to freeze for a second or so. This is probably a result caused by too much activity in the UI thread but since elements always needs ...
-
Thanks for the reply.
The core point of the posts that you pointed out was that it take time to get the data from the web service. That's not my problem since it asynchrounus anyway.
My problem is that it takes 'power' from the UI thread when so many new elements are added at the same time. That causes a freezing in the video ...
-
We have an application that streams live video and at the same time presents different data to the user. The data is received from a web service and we present the data in Grids, DataGrids, etc.
Loads of data from the web service means loads of elements that needs to be added to the UI and when that happens the video stream freezes for some time ...
-
As far as I understand it you need to use binding to populate a datagrid and therefore you need to change the data that the datagrid displays.
A way of updating the datagrid without redrawing the whole grid might be to inherit the 'INotifyPropertyChanged' to your 'GetSetList' class. Change your class like shown below:
public ...
-
If you set the value where "String1" is in 'List1' instead of directly
to your datagrid you should be able to change the value. The reason is
because you have a binding to 'List1'.
Something like this:
List1[0].Name = "yourNewString";
-
Thanks for the reply. Do you have any good sources of information regarding the approach of dynamic xaml loading and the complexities that comes with this approach?
-
I have designed an application with lots of dynamic content and some animations (also dynamic). My application get lot of data from a database and present it in a number of different ways in datagrids, text headers and instructions and so on.
As I have designed it now I create all UI Elements from code behind. I also create bindings and ...
-
Now it works. Thanks! I must have been missing out something basic.