Hidden title of childwindow in silverlight
There is not a clearly property to do this in Child window Silverlight control. But when you disable close button of it, the title bar is also hide.
As code below:
<controls:ChildWindow x:Class=”SilverlightApp.Controls.ItemShowCase”
xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”
xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”
xmlns:controls=”clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls”
Width=”500″ Height=”420″
xmlns:dataFormToolkit=”clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.DataForm.Toolkit”
HasCloseButton=”False”
Customize datagrid in silverlight 3
My task description:
There is a datagrid in SIVERLIGHT3, include paging , whenever there is a new row, it have to lie of the top of current page.
I thought 2 methods:
1. Use a fake grid, lie of above real grid. Any new row added, it will be came to this grid.
2. Use only one main grid, insert new row into its datasource at the right position.
But I realized there were a lot of problem in those way:
1. I must process a lot of event, make to 2 grid synchronous (especially sorting, reorder column …)
2. I must modify main grid datasource every event of datagrid occur to sure new rows always lie of the top.
Thinking…
Could not load Microsoft visual C# compiler 2008…
I was catched when update Visual studio 2008 (Team Suit) to SP1. I don’t know what happen during installing time. This problem make me can’t not open project Siverlight 3 brough from company.
But when I modify some relevant value in registry, project was loaded as expect.
Here my way:
HKEY_CURRENT_USER/Software/Microsoft/Visual Studio/9.0/Package/
Change all value of SKIPLOADING from 1 to 0
That’s all.
