Advanced Forum Search Results
-
When databinding in Silverlight 2 or 3,the target of the binding must be a FrameworkElement. Since DropShadowEffect is not a FrameworkElement, you cannot do this.
-
You can't currently do this natively in Silverlight, but you can use the ImplicitStyleManager found in the Silverlight Toolkit
http://www.codeplex.com/Silverlight/Wiki/View.aspx?title=Silverlight%20Toolkit%20Overview%20Part%203
-
Try using a ColorAnimation instead of a DoubleAnimation:
http://msdn.microsoft.com/en-us/library/system.windows.media.animation.coloranimation%28VS.95%29.aspx
-
Ok, I've posted a small working sample on my site for you to try out. You can download it here:
http://www.pagebrooks.com/files/source/silverlight/silverlightapplicationsb.zip
I hope this helps!
-
Make sure you don't have any errors when you load your application? They could manifest as JavaScript errors.
Additionally, you have bot a name and key specified. You should only specify the Key in this scenario:
x:Key="Unselected" x:Name="Unselect"
Aside from that, I would check to see if your control ...
-
Simply reference the resources off of the RootElement: public class Edge : Control
{
private Panel _layoutRoot;
private Storyboard _unselected;
private Storyboard _selected;
public Edge()
{
this.DefaultStyleKey = typeof(Edge);
}
public override void ...
-
Try using: string.Format("{0:#,##0.00}", input)
-
My example uses an ashx handler. I just didn't include that since it's similar to what you have.
-
I've done this using HttpWebRequest to achieve the exact same thing, you wouldn't have to change much to get your code working with this. I've included my uploader class below. I hope this helps!public class FileUploader : Control
{
public event ProgressChangedEventHandler ProgressChanged;
public event ...
-
Could you simply use an ItemsControl instead? This would allow you to control the visual aspects and allow you to set the ItemsSource for binding.