Exemplo n.º 1
0
        private void LSUsingDirective_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            var block = new BaseBlock
            {
                BlockBackground = Brushes.DarkCyan
            };

            block.BlockContent.Children.Add(new TextBlock
            {
                Text = CurrentNode.ChildNodes().First().ToFullString()
            });

            Content = block;
        }