silverlight-4.0

Who gives good advanced Silverlight 4 courses?

我的未来我决定 提交于 2019-12-25 03:17:11
问题 I've been trying to find a good advanced Silverlight 4 course, but can't really find anything. I've found this: http://www.develop.com/training-course/silverlight-4 But the most interesting topics are only talked about in the course material, not in the actual course. The extra topics from this course which is of particular interest, are: Working with Files: local files, Isolated Storage, data files, zip files. Extensibility: working with MEF to build extensible applications PRISM: using

Who gives good advanced Silverlight 4 courses?

∥☆過路亽.° 提交于 2019-12-25 03:17:03
问题 I've been trying to find a good advanced Silverlight 4 course, but can't really find anything. I've found this: http://www.develop.com/training-course/silverlight-4 But the most interesting topics are only talked about in the course material, not in the actual course. The extra topics from this course which is of particular interest, are: Working with Files: local files, Isolated Storage, data files, zip files. Extensibility: working with MEF to build extensible applications PRISM: using

why doesn't a polyline redraw when I change its Points collection to reference a different collection?

自作多情 提交于 2019-12-25 03:16:32
问题 I'm still fairly new to silverlight, so hopefully this is an elementary question: I have a polyline whose 'Points' (type: PointsCollection) property is bound to a PointsCollection public member, Pts, in my view model class. When I add/remove points from ViewModel.Pts, the polyline redraws correctly without any problem. However, if I change Pts to be a reference to another, totally different PointsCollection object in my view model class, then the polyline doesn't automatically redraw. The

Silverlight best practice for validation?

走远了吗. 提交于 2019-12-25 03:08:30
问题 Is there some best practice or some recommended way how to validate forms in Silverlight? Right now I have to doall validation in endless nested if else structures and it just doesn't seem like a very reusable and maintainable way of doing this. If I want to show error messages next to each form element I also have to create an empty text block next to each element which will hold the error in case the field is invalid. 回答1: I would recommand you the Silverlight toolkit, which provides easy

Binding parent and child data into DataGrid in ria services for silverlight 4

风流意气都作罢 提交于 2019-12-25 01:33:33
问题 i've started learning Silverlight 4 RIA services. i've gone over alot of samples of how to bind data to a grid. but always there object being bound is a simple one with no child tables. in my DB there's a table for employees and a table for city names (with id field as pk). in the employee table theres a FK to the CityId field. the first thing i've tried to do was to show a list of employees and their city name. this i've done in the normal way shown in all the tutorials (create edmx, create

Silverlight Mouse Events: MouseEnter and MouseLeave conflicts

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 01:14:06
问题 I have a collection of buttons in a grid. For each one of these buttons, I want to handle the MouseEnter and MouseLeave events to animate the height of the button (and do some other interesting stuff). It all works good until I start moving my mouse too fast over and off the buttons which eventually cause the events to take place at before the other is complete. What's the best way of making sure the events wait for eachother before being triggered? UPDATE: Going by x0r's advice, I refactored

Need to transform a rectangle's color in Windows Phone 7

南楼画角 提交于 2019-12-25 00:42:49
问题 I have a rectangle, and I have a storyboard: <Storyboard x:Key="PressAndHoldColorBar"> <ColorAnimationUsingKeyFrames Duration="0:0:10" FillBehavior="Stop" Storyboard.TargetName="rectWarning" Storyboard.TargetProperty="Fill"> <LinearColorKeyFrame KeyTime="0:0:0" Value="Green" /> <LinearColorKeyFrame KeyTime="0:0:7" Value="Yellow" /> <LinearColorKeyFrame KeyTime="0:0:10" Value="Red" /> </ColorAnimationUsingKeyFrames> </Storyboard> <Rectangle Height="100" HorizontalAlignment="Left" Margin="12

prevent screen capture

六月ゝ 毕业季﹏ 提交于 2019-12-24 23:02:45
问题 i am developing a video player i silverlight i wanna something to prevent recording or screen capturing i thought about hacking the windows APIs and stop my program from running if there was any of those capturing software asking the user to close it first but i donno how to do this is there another solution ??!!!! 回答1: You could go about using a key hook system, stopping the user pressing the print screen key on the keyboard, that would be a start. There aren't many systems which stop users

Why Won't the Silverlight ChildWindow Display?

我怕爱的太早我们不能终老 提交于 2019-12-24 20:26:57
问题 I have a simple Silverlight 4 application and have added a child window to it. I am using the below code to open it on a button click. This seems like it should work, does it not? public void btnAbout_Click(object sender, RoutedEventArgs e) { About aboutThis = new About(); aboutThis.Show(); } The "About" class looks like this: public partial class About : ChildWindow { public About() { InitializeComponent(); } private void OKButton_Click(object sender, RoutedEventArgs e) { this.DialogResult =

How do I add the like facebook button to a silverlight application?

不羁的心 提交于 2019-12-24 19:26:30
问题 I'm new to silverlight 4 development. I need the facebook I like button to be integrated integrated on my website application? Can someone tell me how to do that? Can I download a library that will provide me a user control that is visible in my toolbox, and thus I will be able to just drag and drop this item on my page? If not, how can I implement this functionality? 回答1: You can just download a like button image from here and use the Facebook SDK to like the page. I haven't tried it myself