You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.2 KiB
26 lines
1.2 KiB
<ResourceDictionary |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:monaco="using:Monaco"> |
|
|
|
<Style TargetType="monaco:CodeEditor" > |
|
<Setter Property="Template"> |
|
<Setter.Value> |
|
<ControlTemplate TargetType="monaco:CodeEditor"> |
|
<Border |
|
Background="{TemplateBinding Background}" |
|
BorderBrush="{TemplateBinding BorderBrush}" |
|
BorderThickness="{TemplateBinding BorderThickness}" |
|
HorizontalAlignment="Stretch" |
|
VerticalAlignment="Stretch"> |
|
<WebView x:Name="View" |
|
Margin="{TemplateBinding Padding}" |
|
Visibility="{Binding IsLoaded,RelativeSource={RelativeSource TemplatedParent}}" |
|
HorizontalAlignment="Stretch" |
|
VerticalAlignment="Stretch"/> |
|
</Border> |
|
</ControlTemplate> |
|
</Setter.Value> |
|
</Setter> |
|
</Style> |
|
</ResourceDictionary>
|
|
|