Advanced Forum Search Results
-
In SL2, there is definitely a bug with the TextBox control when TextWrapping="Wrap". The following XAML: <TextBox Text="First name:" TextWrapping="Wrap" FontSize="14" />
shows up as just a box with the word "First" in it. The word "name:" has been ...
-
If my cells consist of TextBlocks, for example, then the DataGrid creates a TextBlock object for each cell, and for example I would get a TextBlock.Loaded event for each one. Then if I delete some rows, and insert new rows into the DataGrid, instead of instantiating new TextBlock objects, it will reuse some of same old TextBlock objects from ...
-
That's a nifty trick, thank you.
-
Hi,
I have a simple DataGrid that contains editable text columns ... meaning the CellTemplate uses a TextBlock and the CellEditingTemplate uses a TextBox.
I'd like to set different colors (and other text-related attributes) for the text in the cells, depending on the text itself. So, for example, if the user changes the text ...
-
Hi,
In the DataGrid, is there any way to turn off the "feature" that recycles the containers used to display the cells? It's absolutely killing me.
Thanks,
Rajeev
-
Hi --
Using Silverlight 2, what's the best way for me to show a DataGrid on the screen, and allow the end-user to insert new rows at the end of the DataGrid, as well as delete any existing rows? This functionality isn't supported out of the box, is it?
What I've got now is that I always make sure there's a blank row at the ...
-
I believe that proper animation of a Grid's RowDefinition's Height or a ColumnDefinition's Width is not supported. So as a workaround, I animated it manually by creating a DispatcherTimer that fires every 10ms, and on every timer tick, set the RowDefinition's Height myself to the new value, until I reach my target (in your ...
-
No, sorry, never found a solution.
-
Mike,
Great Tip of the Day. I've been trying to figure out how to do this for a while now.
Is it okay with you if I post this and other samples from your blog onto http://silverlightnuggets.com?
Thanks,
Rajeev
rgoel@silverlightnuggets.com
-
:) How many times have I been discouraged from using Silverlight in the way that I choose to use it? Guys, look, I'm not stupid, and I'm not really asking for advice on how to design my app. No one in their right mind goes around creating same namespace+class in different assemblies just for the fun of it, so chances ...