expression - Self Centering Page in Silverlight \ Express Blend -


I am trying to create a page (XML) in the expression mix, which stays in the center of the browser, But so far it is less when the browser window is resized, white space on both sides. And the example is the site or the most decent site on the net. Thanks a code example or link

After posting this question, I did it immediately. Being really simple in Silverlight, I was making it hard for myself.

Give your grid the size of your layout grid size and remove the width and height properties for user control.

  & lt; UserControl xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns: x = "http://schemas.microsoft.com/winfx/2006/xaml" x: class = "SilverlightApplication2. Page "Xmlns: d =" http://schemas.microsoft.com/expression/blend/2008 "xmlns: mc =" http://schemas.openxmlformats.org/markup-compatibility/2006 "MC: Ignorable =" d "& Gt; & Lt; Grid X: Name = "Layouts" background = "white" width = "597.5" height = "532" & gt; & Lt; Grid.ColumnDefinitions & gt; & Lt; Column width = "*" /> & Lt; /Grid.ColumnDefinitions> & Lt; Grid horizontal tracing = "left" vertical alignment = "bottom" height = "509" margin = "8.5,0,0,23" width = "57 9" & gt; & Lt; Rectangle height = "65" margin = "0,8,0,0" vertical alignment = "top" = "# FFD64141" stroke = "# FFA000000" horizontal alignment = "statch" /> & Lt; / Grid & gt; & Lt; / Grid & gt; & Lt; / UserControl & gt;  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -