От: | HowardLovekraft | ||
Дата: | 01.03.11 09:02 | ||
Оценка: |
var myXaml = "<Button xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\" Width=\"200\" Height=\"23\" Content=\"Hello, world!\" />";
var button = (Button)XamlReader.Parse(myXaml);
myGrid.Children.Add(button);