Advanced Forum Search Results
-
Similarly, when creating an IValueConverter for the binding, return a color such as Color.FromArgb(a, r, g, b) or Colors.White
OK..., this isn't working. Has anyone used a converter in the binding path of a GradientStop?
-
Ok, just wrap your content in a ContentControl and set the IsEnabled=False. Then set Cursor=Wait to one of the parent controls (the main UserControl)
-
You would think that the logical solution would be to disable the main control on your silverlight page, AND set the wait cursor. But it looks like you can't change the cursor from the default arrow if the control is disabled. Shouldn't you be able to set a different cursor on a disabled control? It looks like the only elements on ...
-
The same functionality appears to exist with Silverlight 2.0 -- you can still select the item by using the keyboard.
It appears that the combobox items need to be declared as ComboBoxItems in order to disable one. I'm binding to a Dictionary<Enum, string> and can't figure out how to find and disable an item in the list.
-
I was adding lines of text to a textblock in a timer function, and wanted to keep the last line of text viewable (automatically scroll to the bottom). I surrounded the textblock with a scroller, and after adding a new line of text, just called
myScroller.ScrollToVerticalOffset(myScroller.ScrollableHeight);
-
To get the scroller to view the bottom line of text in a textblock, whenever new text is added:
myScroller.ScrollToVerticalOffset(myScroller.ScrollableHeight);
-
My Completed Event was being called multiple times for each asyncronous call -- not quite the square of # of calls though.
I was adding the Completed event handler inside the loop right before calling the async. function. You can set up the event handler once in the page_load function, then just call the async. function in the loop.
-
FYI - I was getting this error and the images were NOT loading. I realized that the Binding value is Case Sensitive! I am using Source="{Binding ThumbNail}" but spelled it Thumbnail. I wish a more descriptive error was returned.
-
I had this problem without using Expression Blend, just trying to get a sample app to work. Somehow I was missing an App.xaml file (Silverlight Application Class) so I added it to fix a different error. I finally realized that this auto-generated file was missing an important line: in the Application_Startup function, it should have this ...
-
I included the namespace in both the xaml file and the project, and it still would not recognize the x:name of my DataGrid. I closed and re-opened visual studio 2008 and it recognizes it now.