What are some of the practical differences between using the CollectionViewSource.View.Filter property as opposed to the CollectionViewSource.Filter event? Are there situations where you would use one over the other or is it a matter of preference?
Cheers,
Berryl
EDIT:
I do see that the docs say "If your view object comes from a Colle...
My team is working on creating our first Silverlight 4 Application. First of all to give a bit of detail on the actual project. It will be Silverlight 4 that is designed to run Out-oF-Browser and we will be using WFC for data services with our own implementation of Dataobjects. (NO entity framework, LINQ-to-SQL, etc). We have a few c...
I have created a silverllight unit test page and it has the reference to both Silverlight.Testing and ...UnitTesting.Silverlight. I have reference to both of them in my test project as using as well.
When I tried to do EnqueueDelay(1000), VS does not recoganise this as a valid method call. What am I doing wrong?
Thanks,
...
So heres the situation, i have a listbox that has a itemcontainerstyle with a template that contains a usercontrol. Inside this usercontrol is:
<Grid Name="Label" MouseLeftButtonDown="Label_MouseLeftButtonDown" >
<TextBlock Name="Text" />
</Grid>
</Border>
<Grid Name="Editor" Visibility="Collapsed" >
...
How to list all registered users from a RIA Service?
I tried to expose they by using a IQueryable (from a Domain Class Service), but got the error "The entity type 'User' is exposed by multiple DomainService types." My first clue is that the user is already exposed, but found nothing in code and there is nothing related to 'User' in 'Da...
Hi All,
We have a silverlight project that uses RIA services. There is some code that I want to share between that project and a web service. I have to leave the code where it is now, i.e. I cannot share the code.
What I thought would be good is for the web service to call the RIA service. It will be sitting on the same server.
I went...
I'm hosting a Silverlight Business Application Template derived application on an IIS Server. I'm using the built-in Forms Authentication which is working perfectly.
Unfortunately, I've added an additional service which has peculiar behavior. If I remote into the server and use the site everything works as expected. If I connect to the ...
Is it possible to have the chart controls in silver light update with data on the fly?
Ie.
say I have a line chart similar to a heart beat/stock price, can I get it to update manually tick by tick and draw along the screen?
have been looking around, but couldn't find any examples of this...
thanks,
...
Is there a way to get number of attached event handlers to event? The problem is that somewhere in code it continues to attach handlers to an event, how can this be solved?
...
The title basically says it for me... I need to be able to get a reference to a control inside my IValueConverter implementation. I have seen plenty of posts around MultiBinding, which Silverlight doesnt have.
Can I use the ConverterParameter somehow to get a reference to its self?
...
Hi All,
My company is going to development drag and drop feature in Silverlight. We are very new to Silverlight and just learnt SL for a week ago. But I believe the feature that my company wants can be done in Silverlight. The control about is about the time table in which the resource will be shifted around.
Here is the feature detail...
I'm trying to bind a collection to a ListBox using only XAML. It kind of works, but it's only displaying MyProject.mainItem (which is the object type), instead of the actual values.
In the class that is assigned as the DataContext, I have this:
ItemCatalog.Add(new mainItem { Ref = "555555", ItemName = "First Item" });
In the XAML on ...
How can I find out if a DLL that was created for a desktop application (in .Net) will work in a Silverlight application?
Bonus question: As SilverLight for Windows Phone 7 is a subset of Silverlight, how do I determine if the dll will work in a app created for a Windows Phone 7?
note: As WP7 does not support P/Invoke - it would mean tha...
Quick one for a silverlight noob.
I have an existing middle tier (Domain Core, Persistence, Infrastructure etc) that supports an mvc front end.
I am looking at developing a separate backend admin app in silverlight and have begun work using prism. I see that silverlight apps cannot ref non-silverlight assemblies.
What is the best wa...
Hi every body,
i have created a silverlight application , but i need to embed it to a Flash file(swf) which it runs with Flash Player ( whithout using browser), I had found a solutions to call it using javascript, but it still needs my flash file run inside the browser, dose any one can help me, Either to run js inside swf (without need...
Hello,
I have a textarea with enabled scrollbar. And here is what i want - when textarea is disabled, scroll becomes disabled also. And i want it to remain scrollable. How can i achieve this?
...
Hi
I'm trying to get rid of the annoying "About Silverlight" context menu that pops up whenever you right click in a Silverlight application. I've added the usual ways:
In App.xaml
rootVisual.MouseRightButtonDown += ((s, args) => args.Handled = true);
and the same for all ChildWindows.
The problem that persist is in all "pop up"-c...
A list of ellipses and lines are added as Children to LayoutRoot. Lines are connecting between ellipses. How to bind these two elements together so that when ellipse moves lines should also move. How to bind the X1property,X2property,Y1property,Y2property to center of ellipses.
...
Hi,
I have a tab control with two tab items (TABITEM_A, TABITEM_B). TABITEM_A contains a tree view item that can be drag (in this scenario an tree view item will be drag to TABITEM_B) while TABITEM_B have a listbox that was dragged from TABITEM_A.
I already set the TreeViewDragDropTarget so that I can perform dragging and set the TABIT...
Some UserControl uses converters, which usually look like this:
<UserControl.Resources>
<Converters:CurrentDataConverter x:Key="CurrentDataConverter"/>
</UserControl.Resources>
I would like to have a base user control for interception of converters, for example,
to use Dependency Injection.
Would it be possible?
Thank you.
...