gumme
4d288202a3
Added test that loads xaml with an explicit list. The official XamlReader can read it successfully but the own XamlParser fails and should be fixed.
12 years ago
gumme
0516cd1b75
Added test for testing generated names for pasted element copies and that the new names is registered in the correct namescope.
12 years ago
gumme
fe0e8c045a
Fixes the following in RegisterXamlComponentRecursive method (called for example on Paste):
...
- Getting the correct namescope for RootItem (the INameScope case was not checked).
- Clears the local namescope for the object if it exists, otherwise name changes will be registered in the local namespace instead of RootItem document namespace.
- Only adds _Copy (or CopyX, where X is an integer) if the previous name did not already end with _Copy. This prevents names as "myname_Copy_Copy_Copy..." to occur when copying and pasting already copied elements.
- Registers the new name to the RootItem namescope, only setting site.Name is not enough as its not yet a part of the RootItem document namescope.
12 years ago
gumme
2e0026d59c
Movement of a control is now only possible if the control is visible.
...
Previously you could move an element that was hidden by hovering the cursor on the edges of the hidden control, and clicking when you saw the move-cursor appear.
12 years ago
gumme
e7cdfc0e3a
Some fixes to BorderForInvisibleControl adorner as follows;
...
Only shows the adorner panel if the parent component is visible.
If component is a ContentControl it must be of type ContentControl specifically, and not derived types like Label and Button where the added border is not wanted.
If component is a Border the adorner border is only drawn on the edges that is invisible.
The adorner is only created the first time it is added to adorners collection.
12 years ago
jogibear9988
3112e412f1
Scroll Selected OutLine Node Into View
12 years ago
gumme
75dc74620c
Using filter to ignore invisible elements in hit testing on design surface.
12 years ago
gumme
f1da926bee
Added tests for testing property values set as element, with proper prefix for types outside default XML-namespace.
12 years ago
gumme
ee33a1c6d6
Added tests for testing that property values are written correctly as attribute in XAML; namespace prefix should only be used for attached properties, and prefix should be generated and added if not already present.
12 years ago
gumme
07c44c9870
Added namespace tests to test XML-namespaces that is added automatically in the document root when controls or types outside the default XML-namespace is used.
12 years ago
gumme
0b59cb78ae
Fixed ignored SetPropertyTests; Must set the property value on the DesignItem representing the object, otherwise the value will not get written to XAML.
12 years ago
gumme
f4a283ff9b
Added unit test for using SolidColorBrush as a resource. This also tests that the inner text of an XML element is only set if the element type defines a Content property.
12 years ago
jkuehner
e64135beef
Default Placement should also work for Control, because it could have a Content Property
...
(when the ContentPropertyAttribute is set)
With this Change you can DragDrop a for Example a PieSeries into the Chart Control from the WPF Toolkit
12 years ago
jkuehner
9cf2257f18
Fix Unit Tests -> ListBox is a ItemsControl and can now get Content!
12 years ago
jkuehner
05ddcf4275
Items Control can also be a Control container, so allow Placement in it!
12 years ago
jkuehner
085945326b
Fix a Null Ref Exception in Thumbnail View
...
(happend for Example on wrong XAML Code)
12 years ago
jkuehner
32e9869652
RenderTransformOriginProperty -> Only one Undo Step when moving the Origin, not for each MouseMove!
12 years ago
jkuehner
2f872569c6
Remove unused Fields
12 years ago
jkuehner
6ca53f06c6
Cache the Instances of XamlModelProperty in a Dictionary.
...
This is, that we have for one Property only one Instance. With this, you can open the Flat Collection Editor, and add Columns or Rows to a Grid via the Designer, and the
List in the FlatCollectionEditor is Refreshed!
12 years ago
jkuehner
c045a08fee
- Flat Collection Editor now working
...
- Implement INotifyCollectionChanged in XamlModelCollectionElementsCollection
12 years ago
jkuehner
0029ec5d39
Flat Collection Editor Refresh fix (hacky)
12 years ago
jkuehner
3332f96d72
Flat Collection Editor
12 years ago
jkuehner
6d5f1082cf
Collection Editor Tab Control fix
12 years ago
jkuehner
edc132ea78
RenderTransformOrigin should also look to Propertygrid changes
12 years ago
jkuehner
d4481df5e6
Remove accidently commited Code in Rotate Thumb
12 years ago
jkuehner
405666639b
Restore Icons (reverted from merge)
12 years ago
jkuehner
1112f9ffcc
New Style for EnumButton
12 years ago
jkuehner
96cd42ca0e
Hide Rotate Thumbon Window
12 years ago
Siegfried Pammer
f89bca0a7f
update Icons used for snap-line and grid placement
12 years ago
Siegfried Pammer
3e62472120
replace some icons in WPF designer with icons suggested by Michael Seeger
12 years ago
Siegfried Pammer
f30d838898
normalize file headers
12 years ago
jkuehner
a476973504
RenderTransformOriginThumb fixes. Was not correctly positioned.
12 years ago
jkuehner
55027f64cd
RenderTransformOriginExtension:
...
- Make it look cleaner (Circle 1 Pixel Thick instead of 2)
- Round it to 4 Digits (we can not use the Precision of 1 which we use for Controls Positioning, because it's a relative Value in the Control!)
12 years ago
Siegfried Pammer
1ab1d4be4c
fix some issues:
...
- formatting and indentation in some files
- do not catch and mute all exceptions in some cases
- use RhinoMocks to mock required services in tests
12 years ago
jkuehner
d4282bae87
Add a Control & Extension to Change the Render Transform Origin!
12 years ago
jkuehner
56eeb24d0f
Rotate Thumb -> Set Render Transform origin when not yet set!
12 years ago
jkuehner
1f63e2dffb
Translation for "Press Alt Text" in WpfDesigner
12 years ago
jkuehner
c68614cfd6
WhenCopy Unit Tests now work!
...
But they need to check for Types, not for the Instance because the Instance is Cloned
12 years ago
jkuehner
7c12634473
Fix Insert Test -> Button Can now recieve Content!
12 years ago
jkuehner
b4f3ac6345
Fix Cannot Add Test, because Button can now recieve Content! So use a Image instead!
12 years ago
jkuehner
238674e46f
A fix for the Unit Tests.
...
In them, the DesignPanel is not available
12 years ago
jkuehner
6a0f73eb2c
Don't Clear Name on copied Elements, change the name to "_Copy","_Copy1","_Copy2"....
12 years ago
jkuehner
81d9ed0916
Press "Esc" to Clears Text
12 years ago
jkuehner
04c2654b9c
Outline Panel ToolTip Preview of the Control
...
-> like http://community.sharpdevelop.net/photos/kumardevvrat/picture30728.aspx
12 years ago
jkuehner
4f5edf8a54
New Width / Height Calculating.
...
If you a Control wich has a Width/height set in it's default Style, then this should be used as start size!
12 years ago
jkuehner
4573eeec9c
Remove Name from a Pasted Control when it exists in the NameScope
12 years ago
jkuehner
51c6465ec8
Keep Quick Operation menu Size when zoomed...
...
So thats it is also usable when zoomed out very wide...
12 years ago
jkuehner
d8b9121ac2
Add a ThumbnailView control
...
(show a Miniature View of the workspace)
12 years ago
jkuehner
d56186c8f1
Correct Typo in Binding of the InPlaceEditor
12 years ago
jkuehner
7da8435853
Posibility to Move Controls via Keys
...
(like in VS and Blend)
12 years ago