7 changed files with 121 additions and 110 deletions
@ -1,23 +1,22 @@ |
|||||||
<UserControl |
<UserControl |
||||||
x:Class="ICSharpCode.XamlDesigner.DocumentView" |
x:Class="ICSharpCode.XamlDesigner.DocumentView" |
||||||
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation" |
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation" |
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||||
xmlns:Integration="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" |
xmlns:Default="clr-namespace:ICSharpCode.XamlDesigner" |
||||||
xmlns:TextEditor="clr-namespace:ICSharpCode.TextEditor;assembly=ICSharpCode.TextEditor" |
xmlns:DesignerControls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls;assembly=ICSharpCode.WpfDesign.Designer" |
||||||
xmlns:Default="clr-namespace:ICSharpCode.XamlDesigner" |
xmlns:AvalonEdit="http://icsharpcode.net/sharpdevelop/avalonedit" |
||||||
xmlns:DesignerControls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls;assembly=ICSharpCode.WpfDesign.Designer" |
> |
||||||
> |
<DockPanel> |
||||||
|
<DesignerControls:EnumBar |
||||||
<DockPanel> |
Value="{Binding Mode}" |
||||||
<DesignerControls:EnumBar Value="{Binding Mode}" |
DockPanel.Dock="Bottom"/> |
||||||
DockPanel.Dock="Bottom"/> |
<Grid> |
||||||
<Grid> |
<AvalonEdit:TextEditor |
||||||
<Integration:WindowsFormsHost Visibility="{Binding InXamlMode, Converter={StaticResource CollapsedWhenFalse}}"> |
x:Name="uxTextEditor" |
||||||
<TextEditor:TextEditorControl x:Name="uxTextEditor" /> |
SyntaxHighlighting="XML" |
||||||
</Integration:WindowsFormsHost> |
Visibility="{Binding InXamlMode, Converter={StaticResource CollapsedWhenFalse}}" /> |
||||||
<ContentPresenter Content="{Binding DesignSurface}" |
<ContentPresenter Content="{Binding DesignSurface}" |
||||||
Visibility="{Binding InDesignMode, Converter={StaticResource CollapsedWhenFalse}}"/> |
Visibility="{Binding InDesignMode, Converter={StaticResource CollapsedWhenFalse}}"/> |
||||||
</Grid> |
</Grid> |
||||||
</DockPanel> |
</DockPanel> |
||||||
|
|
||||||
</UserControl> |
</UserControl> |
||||||
Loading…
Reference in new issue