Browse Source
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@4781 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
25 changed files with 391 additions and 776 deletions
@ -1,23 +1,23 @@
@@ -1,23 +1,23 @@
|
||||
<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"> |
||||
|
||||
<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:TextEditor="clr-namespace:ICSharpCode.TextEditor;assembly=ICSharpCode.TextEditor" |
||||
xmlns:Default="clr-namespace:ICSharpCode.XamlDesigner" |
||||
xmlns:DesignerControls="clr-namespace:ICSharpCode.WpfDesign.Designer.Controls;assembly=ICSharpCode.WpfDesign.Designer" |
||||
> |
||||
|
||||
<DockPanel> |
||||
<DesignerControls:EnumBar Value="{Binding Mode}" |
||||
DockPanel.Dock="Bottom" /> |
||||
DockPanel.Dock="Bottom"/> |
||||
<Grid> |
||||
<Integration:WindowsFormsHost Visibility="{Binding InXamlMode, Converter={StaticResource CollapsedWhenFalse}}"> |
||||
<Default:TextEditorWithoutUndo x:Name="uxTextEditor" /> |
||||
<TextEditor:TextEditorControl x:Name="uxTextEditor" /> |
||||
</Integration:WindowsFormsHost> |
||||
|
||||
<Designer:DesignSurface x:Name="uxDesignSurface" |
||||
Context="{Binding Context}" |
||||
Visibility="{Binding InDesignMode, Converter={StaticResource CollapsedWhenFalse}}" /> |
||||
<ContentPresenter Content="{Binding DesignSurface}" |
||||
Visibility="{Binding InDesignMode, Converter={StaticResource CollapsedWhenFalse}}"/> |
||||
</Grid> |
||||
</DockPanel> |
||||
|
||||
|
||||
</UserControl> |
Before Width: | Height: | Size: 470 B |
Before Width: | Height: | Size: 537 B |
@ -1,3 +0,0 @@
@@ -1,3 +0,0 @@
|
||||
using System.Windows; |
||||
|
||||
[assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] |
@ -1,110 +0,0 @@
@@ -1,110 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3053
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace ICSharpCode.XamlDesigner.Properties { |
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] |
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] |
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { |
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); |
||||
|
||||
public static Settings Default { |
||||
get { |
||||
return defaultInstance; |
||||
} |
||||
} |
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()] |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
||||
[global::System.Configuration.DefaultSettingValueAttribute("0,0,0,0")] |
||||
public global::System.Windows.Rect MainWindowRect { |
||||
get { |
||||
return ((global::System.Windows.Rect)(this["MainWindowRect"])); |
||||
} |
||||
set { |
||||
this["MainWindowRect"] = value; |
||||
} |
||||
} |
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()] |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
||||
[global::System.Configuration.DefaultSettingValueAttribute(@"<DockingManager>
|
||||
<ResizingPanel Orientation=""Horizontal""> |
||||
<ResizingPanel ResizeWidth=""200"" Orientation=""Vertical""> |
||||
<DockablePane ResizeHeight=""441.36166666666668"" Anchor=""Left""> |
||||
<DockableContent Name=""content1"" AutoHide=""false"" /> |
||||
</DockablePane> |
||||
<DockablePane ResizeWidth=""200"" Anchor=""Left""> |
||||
<DockableContent Name=""content2"" AutoHide=""false"" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<ResizingPanel Orientation=""Vertical""> |
||||
<DocumentPanePlaceHolder /> |
||||
<DockablePane ResizeHeight=""138"" Anchor=""Bottom""> |
||||
<DockableContent Name=""content3"" AutoHide=""false"" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<DockablePane ResizeWidth=""271"" Anchor=""Right""> |
||||
<DockableContent Name=""content4"" AutoHide=""false"" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<Hidden /> |
||||
<Windows /> |
||||
</DockingManager>")]
|
||||
public string AvalonDockLayout { |
||||
get { |
||||
return ((string)(this["AvalonDockLayout"])); |
||||
} |
||||
set { |
||||
this["AvalonDockLayout"] = value; |
||||
} |
||||
} |
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()] |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
||||
public global::System.Collections.Specialized.StringCollection RecentFiles { |
||||
get { |
||||
return ((global::System.Collections.Specialized.StringCollection)(this["RecentFiles"])); |
||||
} |
||||
set { |
||||
this["RecentFiles"] = value; |
||||
} |
||||
} |
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()] |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
||||
[global::System.Configuration.DefaultSettingValueAttribute(@"<?xml version=""1.0"" encoding=""utf-16""?>
|
||||
<ArrayOfString xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"">
|
||||
<string>%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.0\PresentationFramework.dll</string> |
||||
</ArrayOfString>")]
|
||||
public global::System.Collections.Specialized.StringCollection AssemblyList { |
||||
get { |
||||
return ((global::System.Collections.Specialized.StringCollection)(this["AssemblyList"])); |
||||
} |
||||
set { |
||||
this["AssemblyList"] = value; |
||||
} |
||||
} |
||||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()] |
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
||||
[global::System.Configuration.DefaultSettingValueAttribute("Maximized")] |
||||
public global::System.Windows.WindowState MainWindowState { |
||||
get { |
||||
return ((global::System.Windows.WindowState)(this["MainWindowState"])); |
||||
} |
||||
set { |
||||
this["MainWindowState"] = value; |
||||
} |
||||
} |
||||
} |
||||
} |
@ -1,46 +0,0 @@
@@ -1,46 +0,0 @@
|
||||
<?xml version='1.0' encoding='utf-8'?> |
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="ICSharpCode.XamlDesigner.Properties" GeneratedClassName="Settings"> |
||||
<Profiles /> |
||||
<Settings> |
||||
<Setting Name="MainWindowRect" Type="System.Windows.Rect" Scope="User"> |
||||
<Value Profile="(Default)">0,0,0,0</Value> |
||||
</Setting> |
||||
<Setting Name="AvalonDockLayout" Type="System.String" Scope="User"> |
||||
<Value Profile="(Default)"><DockingManager> |
||||
<ResizingPanel Orientation="Horizontal"> |
||||
<ResizingPanel ResizeWidth="200" Orientation="Vertical"> |
||||
<DockablePane ResizeHeight="441.36166666666668" Anchor="Left"> |
||||
<DockableContent Name="content1" AutoHide="false" /> |
||||
</DockablePane> |
||||
<DockablePane ResizeWidth="200" Anchor="Left"> |
||||
<DockableContent Name="content2" AutoHide="false" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<ResizingPanel Orientation="Vertical"> |
||||
<DocumentPanePlaceHolder /> |
||||
<DockablePane ResizeHeight="138" Anchor="Bottom"> |
||||
<DockableContent Name="content3" AutoHide="false" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<DockablePane ResizeWidth="271" Anchor="Right"> |
||||
<DockableContent Name="content4" AutoHide="false" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<Hidden /> |
||||
<Windows /> |
||||
</DockingManager></Value> |
||||
</Setting> |
||||
<Setting Name="RecentFiles" Type="System.Collections.Specialized.StringCollection" Scope="User"> |
||||
<Value Profile="(Default)" /> |
||||
</Setting> |
||||
<Setting Name="AssemblyList" Type="System.Collections.Specialized.StringCollection" Scope="User"> |
||||
<Value Profile="(Default)"><?xml version="1.0" encoding="utf-16"?> |
||||
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<string>%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.0\PresentationFramework.dll</string> |
||||
</ArrayOfString></Value> |
||||
</Setting> |
||||
<Setting Name="MainWindowState" Type="System.Windows.WindowState" Scope="User"> |
||||
<Value Profile="(Default)">Maximized</Value> |
||||
</Setting> |
||||
</Settings> |
||||
</SettingsFile> |
@ -1,29 +0,0 @@
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/> |
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> |
||||
<security> |
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> |
||||
<!-- UAC Manifest Options |
||||
If you want to change the Windows User Account Control level replace the |
||||
requestedExecutionLevel node with one of the following. |
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> |
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> |
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" /> |
||||
|
||||
If you want to utilize File and Registry Virtualization for backward |
||||
compatibility then delete the requestedExecutionLevel node. |
||||
--> |
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> |
||||
</requestedPrivileges> |
||||
</security> |
||||
</trustInfo> |
||||
|
||||
<dependency> |
||||
<dependentAssembly> |
||||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="x86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity> |
||||
</dependentAssembly> |
||||
</dependency> |
||||
|
||||
</asmv1:assembly> |
@ -1,10 +0,0 @@
@@ -1,10 +0,0 @@
|
||||
<Window xmlns="http://schemas.microsoft.com/netfx/2007/xaml/presentation" |
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||
Width="524" |
||||
Height="385"> |
||||
<ContentControl.Content> |
||||
<Grid> |
||||
<Panel.Children /> |
||||
</Grid> |
||||
</ContentControl.Content> |
||||
</Window> |
@ -1,26 +0,0 @@
@@ -1,26 +0,0 @@
|
||||
using System; |
||||
using System.Collections.Generic; |
||||
using System.Linq; |
||||
using System.Text; |
||||
using ICSharpCode.WpfDesign.Designer.OutlineView; |
||||
|
||||
namespace ICSharpCode.XamlDesigner |
||||
{ |
||||
class ToolboxTreeView : DragTreeView |
||||
{ |
||||
protected override bool CanInsert(DragTreeViewItem target, DragTreeViewItem[] items, DragTreeViewItem after, bool copy) |
||||
{ |
||||
return base.CanInsert(target, items, after, copy); |
||||
} |
||||
|
||||
protected override void Insert(DragTreeViewItem target, DragTreeViewItem[] items, DragTreeViewItem after, bool copy) |
||||
{ |
||||
base.Insert(target, items, after, copy); |
||||
} |
||||
|
||||
protected override void Remove(DragTreeViewItem target, DragTreeViewItem item) |
||||
{ |
||||
base.Remove(target, item); |
||||
} |
||||
} |
||||
} |
@ -1,51 +0,0 @@
@@ -1,51 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?> |
||||
<configuration> |
||||
<configSections> |
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > |
||||
<section name="ICSharpCode.XamlDesigner.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> |
||||
</sectionGroup> |
||||
</configSections> |
||||
<userSettings> |
||||
<ICSharpCode.XamlDesigner.Properties.Settings> |
||||
<setting name="MainWindowRect" serializeAs="String"> |
||||
<value>0,0,0,0</value> |
||||
</setting> |
||||
<setting name="AvalonDockLayout" serializeAs="String"> |
||||
<value><DockingManager> |
||||
<ResizingPanel Orientation="Horizontal"> |
||||
<ResizingPanel ResizeWidth="200" Orientation="Vertical"> |
||||
<DockablePane ResizeHeight="441.36166666666668" Anchor="Left"> |
||||
<DockableContent Name="content1" AutoHide="false" /> |
||||
</DockablePane> |
||||
<DockablePane ResizeWidth="200" Anchor="Left"> |
||||
<DockableContent Name="content2" AutoHide="false" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<ResizingPanel Orientation="Vertical"> |
||||
<DocumentPanePlaceHolder /> |
||||
<DockablePane ResizeHeight="138" Anchor="Bottom"> |
||||
<DockableContent Name="content3" AutoHide="false" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<DockablePane ResizeWidth="271" Anchor="Right"> |
||||
<DockableContent Name="content4" AutoHide="false" /> |
||||
</DockablePane> |
||||
</ResizingPanel> |
||||
<Hidden /> |
||||
<Windows /> |
||||
</DockingManager></value> |
||||
</setting> |
||||
<setting name="AssemblyList" serializeAs="Xml"> |
||||
<value> |
||||
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
||||
<string>%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.0\PresentationFramework.dll</string> |
||||
</ArrayOfString> |
||||
</value> |
||||
</setting> |
||||
<setting name="MainWindowState" serializeAs="String"> |
||||
<value>Maximized</value> |
||||
</setting> |
||||
</ICSharpCode.XamlDesigner.Properties.Settings> |
||||
</userSettings> |
||||
</configuration> |
Loading…
Reference in new issue