10 changed files with 127 additions and 109 deletions
@ -1,4 +1,13 @@ |
|||
<Window xmlns="https://github.com/avaloniaui" |
|||
xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' |
|||
x:Class="Sandbox.MainWindow"> |
|||
<RichTextBlock Margin="10" TextWrapping="Wrap"> |
|||
This <Span FontWeight="Bold">is</Span> a |
|||
<Span Background="Silver" Foreground="Maroon">TextBlock</Span> |
|||
with <Span TextDecorations="Underline">several</Span> |
|||
<Span FontStyle="Italic">Span</Span> elements, |
|||
<Span Foreground="Blue"> |
|||
using a <Bold>variety</Bold> of <Italic>styles</Italic> |
|||
</Span>. |
|||
</RichTextBlock> |
|||
</Window> |
|||
|
|||
@ -1,11 +1,11 @@ |
|||
namespace Avalonia.Markup.Xaml |
|||
namespace Avalonia.Metadata |
|||
{ |
|||
public interface IAddChild |
|||
{ |
|||
void AddChild(object child); |
|||
} |
|||
|
|||
public interface IAddChild<T> : IAddChild |
|||
public interface IAddChild<T> |
|||
{ |
|||
void AddChild(T child); |
|||
} |
|||
Loading…
Reference in new issue