22 строки
912 B
XML
22 строки
912 B
XML
<UserControl
|
|
x:Class="ICSharpCode.XamlDesigner.DocumentView"
|
|
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:Default="clr-namespace:ICSharpCode.XamlDesigner"
|
|
xmlns:DesignerControls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls;assembly=ICSharpCode.WpfDesign.Designer"
|
|
xmlns:AvalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit"
|
|
>
|
|
<DockPanel>
|
|
<DesignerControls:EnumBar
|
|
Value="{Binding Mode}"
|
|
DockPanel.Dock="Bottom"/>
|
|
<Grid>
|
|
<AvalonEdit:TextEditor
|
|
x:Name="uxTextEditor"
|
|
SyntaxHighlighting="XML" ShowLineNumbers="True"
|
|
Visibility="{Binding InXamlMode, Converter={StaticResource CollapsedWhenFalse}}" />
|
|
<ContentPresenter Content="{Binding DesignSurface}"
|
|
Visibility="{Binding InDesignMode, Converter={StaticResource CollapsedWhenFalse}}"/>
|
|
</Grid>
|
|
</DockPanel>
|
|
</UserControl> |