Advanced Forum Search Results
-
Hiding the DataGrid was just an example of trying to do something with the UI as work was going on...I'm not that much of a fail whale...hehe :)
I'll read up on that dispatch thing...
-
Say you have a simple TextBlock with a MouseLeftButtonDown.
In that event I want to:1) Hide a Datagrid
2) Do custom code to the datagrid
3) Show the datagrid
Right now I have this code:
private void Sort_Click(object sender, MouseButtonEventArgs e) {
TextBlock button = sender as TextBlock;
ResultGrid.Visibility = ...
-
<BitmapImage UriSource="{Binding ImagePath}" />
You mean something like this isn't working?
-
Here's a quick repro. Simply rotate text in Silverlight 3. Font goes from crisp to blurry. Almost like when a projection is made on a TextBlock, the ClearType and other font rendering visuals are mucked up.
<TextBlock Canvas.Top="45" Canvas.Left="167" ...
-
Yup, same thing happened to me when copying(not cut, but copy) a png from an /images folder in the Silverlight project into the ClientBin of the web app. I had to delete the png from the ClientBin, then it built fine. Did another copy, and a build was fine after that. Seems like a bug perhaps, sometimes the project files get mucked up on ...
-
But I also already have the ControlTemplate in my App.xaml for my DataGridColumnHeader, all I'm doing in the DataGrid is setting the DataTemplate. Should the ContentTemplate not trickle down, or when you do things like overriding the DataGridTemplateColumn.HeaderStyle is the rul that you need to override everything, including the ...
-
Since we had set column widths we had to hack the setter properties:
<Setter Property="Width" Value="122" />
...we had to add 15 to this width in order to "push" this sort thing behind the other column so it isn't viewable anymore.
Not sure what you mean by "new header style". New as to this ...
-
p.s. This is for an internal project for Microsoft themselves, so not good if I need to hack this datagrid even more than I've had to to make things work :)
-
It seems to break our styles for datagrids. Seems like the sort shows up when it didn't before. Here's a screenshot:
http://www.flickr.com/photos/27316914@N04/3276473967/
Noting that CanUserSortColumns is false. Seems like the Datagrid is outputting the sort style for some reason.
Noting we're using DataGridTemplateColumn. Here's ...
-
EDIT: removed and posted to the other thread.
http://silverlight.net/forums/p/59990/174122.aspx#174122