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