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.0 KiB
23 lines
1.0 KiB
<UserControl x:Class="SharpDevelop.Samples.XamlDesigner.ShellDocumentView" |
|
xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:sd="http://sharpdevelop.net" |
|
xmlns:Integration="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" |
|
xmlns:Default="clr-namespace:SharpDevelop.Samples.XamlDesigner" |
|
> |
|
|
|
<DockPanel> |
|
<ContentPresenter DockPanel.Dock="Top" |
|
Content="{Binding Context.ToolPanel}" /> |
|
<sd:LayersPanel SelectedIndex="{Binding Context.Mode, Converter={x:Static sd:IntFromEnumConverter.Instance}}"> |
|
|
|
<Integration:WindowsFormsHost> |
|
<Default:TextEditorWithoutUndo x:Name="uxTextEditor" /> |
|
</Integration:WindowsFormsHost> |
|
|
|
<ContentPresenter Content="{Binding Context.DesignView}" /> |
|
|
|
</sd:LayersPanel> |
|
</DockPanel> |
|
|
|
</UserControl> |