Siegfried Pammer
76014cd971
fixed merge conflict in
...
src\AddIns\DisplayBindings\WpfDesign\WpfDesign.XamlDom\Project\XamlProperty.cs
Original author: Tobias Gummesson
------------------------------------------------------------------------------------------------------------------------
The previous solution regarding XAML names expected all properties of type string named Name to represent a name in XAML namescope, and this caused trouble with types with a property named Name that did not represent a XAML name. In this case the value of the property tried to be registered as name to the namescope and this caused either the value to be occupied as name, or threw an exception if name already was taken or the value consisted of characters forbidden in XAML names causing the value to not be set at all.
To solve this the value of a Name property is only registered to namescope if the property represents a XAML name (defined by RuntimeNamePropertyAttribute).
Also added a Name property to XamlObject that always sets the name to x:Name attribute, but gets it from either x:Name or the property that represents the XAML name if it exists (both are valid places for name registration).
Fixed a bug in XamlParser where x:Name value was not registered in its namescope.
All other changes (for example changes in PropertyGrid/XamlDesignItem) was to support the Name fixes described above.
12 years ago
jkuehner
f34a5e8da8
- Raster Placement support!
...
- Aviability to Enable/Disable Raster and Snapline Placement from the Zoom Control (like in VS2012)
- Fix in Snapline Placement that you can also Position to 0!
12 years ago
jkuehner
afc881c8b0
Extend Zoom Control so that it can Display Additional Controls.
...
Used later for Enabling Grid/Snapline Placement support
12 years ago
jkuehner
64a8e0f184
Enum Button -> Highlight Selected Value
12 years ago
jkuehner
1aae5a1e38
Canvas Position Handle
...
-> When Positioning in a Canvas, show a Handle like the one Showed when Positioning in a Grid
12 years ago
jogibear9988
f85140780d
Set ClipToBounds inside WindowClone so only the Controls are Visible Area of the Window are drawn!
12 years ago
jogibear9988
7946cee208
Copy & Paste of Items -> Keep the old Position, don't move all Elements to the upper corner.
...
This works, because before the Action was AddItem, and then the DefaultPlacementBehavior tries to set the position!
This should not be done by paste from Clipboard
12 years ago
jogibear9988
0b545636a3
XamlDesignItem now ICloneable is now implemented!
...
So for Example you can clone it in the Outline View
12 years ago
jkuehner
6ea7511873
Support to hide Controls from the OutlineView.
12 years ago
jogibear9988
9ebce8cca0
Gray Out Area fix -> It was Grayed out to much, not Only the Control in the Design Panel.
12 years ago
Tobias Gummesson
64343cfe57
If properties on a markup extension (for example a binding) is modified after the markup extension was set on a property, and these property changes effect how the markup extension can be printed in XAML, the markup extension was not updated properly.
12 years ago
Tobias Gummesson
d4beb03306
Fixed so markup extensions where property is set by a StaticResource checks if the referenced resource is declared locally, and it its declared locally it forces the markup extension to be printed as element and not as shorthand XAML markup extension code. This is so the StaticResource can find the correct resource.
...
Also fixed so Resources element is always left first among the child elements when inserting new child.
12 years ago
Tobias Gummesson
ccda46b899
Fixed so its possible to use MultiBinding and PriorityBinding on a DesignItemProperty and that it writes as expected to XAML.
12 years ago
Tobias Gummesson
dfe0ca1604
Added default ReportErrors delegate that does nothing.
...
This is necessary after the fix in commit 295f62532f
.
Before that commit the ReportErrors was semi-optional; When loading was successful ReportErrors was never called (ReportErrors optional), but when document failed to be created a NullReferenceException was thrown because ReportErrors did not have a delegate.
See also commit 006558f253
, that throws a more friendly exception than NullReferenceException when document fails to load.
12 years ago
Tobias Gummesson
83026098fa
Throws a XamlLoadException with an error message describing the error instead of a NullReferenceException in the case where the document failed to load.
12 years ago
Tobias Gummesson
374fa8589b
Fixed bug where list with errors in the designer was only updated if the document failed to load completely.
12 years ago
Tobias Gummesson
0581162c66
Removed Ignore attribute from WhitespaceTests so the tests in the class will be executed.
...
Made some modifications to XamlParser so it aligns with the official XamlReader and the WhitespaceTests will pass.
12 years ago
Tobias Gummesson
6a640ca873
Removed Ignore attribute from SimpleLoadTests so the tests in the class will be executed.
...
Made some modifications to XamlParser so it aligns with the official XamlReader and the SimpleLoadTests will pass.
12 years ago
Tobias Gummesson
e0233a6e05
Fixed so nodes in the property grid gets DesignItemProperty instances that really represents attached properties when an attached property is used.
...
When setting a property value as attribute, fixed so namespace prefix is only used for attached properties, and if no prefix is defined for a non-default namespace a new unique prefix is generated.
12 years ago
Siegfried Pammer
4c8a3129e8
adjusted unit test
12 years ago
Siegfried Pammer
638d9e7324
add more unit tests
12 years ago
gumme
1bd00ea220
Made it possible to add resources to a ResourceDictionary through DesignItemProperty.CollectionElements.
12 years ago
Siegfried Pammer
9f71500fab
add unit tests for property setters
12 years ago
Daniel Grunwald
918582348c
Fix compiler warnings.
12 years ago
Daniel Grunwald
7aa8e6c63b
Initial implementation of new ISolution-API.
13 years ago
Daniel Grunwald
7ed3cf8a5c
Fix infinite loop in WPF designer.
13 years ago
Daniel Grunwald
cc470ec86e
Replace DelegateCommand and DesignCommand with RelayCommand.
13 years ago
Siegfried Pammer
aba3a7a1ca
fix unit tests
13 years ago
Siegfried Pammer
7eb5641bcf
add WPF designer back
13 years ago
Daniel Grunwald
8293675a92
Replace 'Where(pred).FirstOrDefault()' with 'FirstOrDefault(pred)'
13 years ago
Matt Ward
ec6ad9e42e
Fix failing unit tests being run with MTA thread.
...
Setting the ApartmentState to STA in app.config is no longer supported by NUnit 2.6.1. Instead the RequiresSTA attribute needs to be used.
13 years ago
Daniel Grunwald
a2f42f2665
Fixed StackPanelPlacementSupport.ChangePositionTo().
...
http://community.sharpdevelop.net/forums/t/13865.aspx
13 years ago
Daniel Grunwald
415f4ae274
Replace spaces with tabs.
13 years ago
Siegfried Pammer
bcc9fa34ae
implemented SD-1890 - WPF Designer does not support WPF Page
14 years ago
Matt Ward
8d5533a925
Updated icons from Michael Seeger for addins using their own images and a fix for the transparency of the method icon.
14 years ago
Daniel Grunwald
5df40bdd49
WPF Designer: use transaction when moving items in outline pad. (fixes http://community.sharpdevelop.net/forums/t/13248.aspx )
14 years ago
Daniel Grunwald
c67e7b2394
WPF Designer: Fixed "Cannot undo when item is moved inside outline view" ( http://community.sharpdevelop.net/forums/t/13247.aspx )
14 years ago
Daniel Grunwald
c1ba2b7a41
WPF Designer: Fixed "Cannot move multiple controls" ( http://community.sharpdevelop.net/forums/t/13250.aspx )
14 years ago
Eusebiu Marcu
58e5ace255
fix SD-1716 - http://bugtracker.sharpdevelop.net/issue/ViewIssue.aspx?id=1716&PROJID=4
14 years ago
Daniel Grunwald
1d25ed2fd1
Fix bug in WPF designer: ChangeGroup was left open when creating a control by clicking on the design surface ( http://community.sharpdevelop.net/forums/t/12410.aspx )
15 years ago
Daniel Grunwald
84ed7ca178
Avoid test failure on build server when unit tests for several branches are running concurrently.
15 years ago
Siegfried Pammer
8405f8c707
moved WpfDesigner-ColorPicker to ICSharpCode.SharpDevelop.Widgets.csproj
15 years ago
Matt Ward
10b427cfaf
Fix SD-1657 - Grid adorner - File no longer marked as dirty when just moving the mouse over the column header.
15 years ago
Daniel Grunwald
b9b018525d
Fixed build.
15 years ago
Daniel Grunwald
afd2f38400
Mark SharpDevelop assemblies as Full/Client profile.
15 years ago
Kumar Devvrat
45e5c89b60
Remove NotImplementedException in BeforeSetPosition()
15 years ago
Daniel Grunwald
f5780c2944
Apply new file headers
15 years ago
Kumar Devvrat
ff9486c3d6
Fix a bug where the initial text disappeared when clicking on any other editable text.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6410 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Kumar Devvrat
86d1e42f90
Add tests for Outline and fix CanInsert/Insert bugs due to drag'n'drop.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6407 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago
Kumar Devvrat
72f208e637
-Add support for custom controls.
...
-Support having any item as the Root Item.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@6403 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
15 years ago