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.
23 lines
1.3 KiB
23 lines
1.3 KiB
<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:Integration="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" |
|
xmlns:Default="clr-namespace:ICSharpCode.XamlDesigner" |
|
xmlns:Designer="clr-namespace:ICSharpCode.WpfDesign.Designer;assembly=ICSharpCode.WpfDesign.Designer" |
|
xmlns:DesignerControls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls;assembly=ICSharpCode.WpfDesign.Designer"> |
|
|
|
<DockPanel> |
|
<DesignerControls:EnumBar Value="{Binding Mode}" |
|
DockPanel.Dock="Bottom" /> |
|
<Grid> |
|
<Integration:WindowsFormsHost Visibility="{Binding InXamlMode, Converter={StaticResource CollapsedWhenFalse}}"> |
|
<Default:TextEditorWithoutUndo x:Name="uxTextEditor" /> |
|
</Integration:WindowsFormsHost> |
|
|
|
<Designer:DesignSurface x:Name="uxDesignSurface" |
|
Context="{Binding Context}" |
|
Visibility="{Binding InDesignMode, Converter={StaticResource CollapsedWhenFalse}}" /> |
|
</Grid> |
|
</DockPanel> |
|
|
|
</UserControl> |