Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
a267e1c070
DesiredSize doesn't need to be null.
11 years ago
Steven Kirk
c27ddbb17c
Removed ActualSize property - use Bounds instead.
11 years ago
Steven Kirk
5bcd8ecd91
Added Padding to TemplatedControl.
11 years ago
Steven Kirk
5a1aca2876
Make template find methods to extension class.
11 years ago
Steven Kirk
d25c4e0b4c
Some work on TabControl/TabStrip.
11 years ago
Steven Kirk
2417ac1077
Trying to sort out logical tree for ItemsControls.
Not yet complete.
This reverts commit 7a55e20f98 .
The reason that searching for template controls needs to search nested
templates is because e.g. an ItemsPresenter may be nested inside a
ScrollViewer.
11 years ago
Steven Kirk
b28b5e5a23
Tidied up Presenter/TemplatedParent logic a bit.
11 years ago
Steven Kirk
fc5ff22d8e
Search logical tree for DataTemplates.
11 years ago
Steven Kirk
23c4a9a87f
Moved some more properties out of Control.
Border and Foreground properties didn't make sense there.
11 years ago
Steven Kirk
2c1d2cb7a8
Display logical tree in DevTools.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
11 years ago
Steven Kirk
a9a569557b
Moved some properties around.
- Moved Background out of Control. Fixes #14 .
- Added Font properties to TemplatedControl.
11 years ago
Steven Kirk
d575dfa773
Moved Perspex <-> D2D conversions to ext. methods.
11 years ago
Steven Kirk
01c7d028d0
Correctly apply nested templates.
When a templated control's template itself contains templated controls,
make sure all of the templates are applied, as the nested templated
control might contain something the top-most templated control is
looking for.
11 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
11 years ago
Steven Kirk
3dbd669f7b
Added Layoutable.ApplyTemplate.
Rather than each different presenter/templated control rolling their
own.
11 years ago
Steven Kirk
76ba899dbd
Make templates etc get applied on measure.
Instead of when iterating visual children. This because everything is
likely to be set up by that point.
11 years ago
Steven Kirk
1a898d83aa
Started adding ScrollViewer.
Currently works so far as to scroll an image in the Images tab of the
test app. Hiding the scrollbars is currently disabled as it requires a
layout pass to be triggered during a layout pass. Need to work out a
way around that...
11 years ago
Steven Kirk
ec0b43d388
Added Controls.Primitives namespace
For controls that are only supposed to be used as the base for other
controls.
12 years ago
Steven Kirk
0aa671d75f
No longer need to work around a Splat bug.
12 years ago
Steven Kirk
2398387740
More things rendering, more tests passing...
12 years ago
Steven Kirk
3f24d2f6ef
Everything compiling now.
But not working, obviously.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
3b19bc25b6
checkpoint
12 years ago
Steven Kirk
0b81fc2ca0
Change Visibility to IsVisible.
12 years ago
Steven Kirk
52b7d08541
Started on TextBox.
12 years ago
Steven Kirk
d90133677b
Added StackPanel.
12 years ago
Steven Kirk
3d8d93d1eb
Fixed controls getting styled multiple times.
12 years ago
Steven Kirk
52643eaadd
Added TemplatedControl tests.
12 years ago
grokys
b292905a84
Separated visual and logical tree into interfaces.
IVisual and ILogical, duh.
12 years ago
grokys
4080c18f59
Added IVisual interface.
12 years ago
grokys
6fd6f186ec
Added ITemplatedControl interface.
12 years ago
grokys
60c8302033
Moved template into theme.
12 years ago
grokys
f39d2a3f3a
Tidied up a bit.
12 years ago
grokys
3cdda17ef6
Added FontSize/VisualParent.
12 years ago
grokys
cd2b7530f5
Initial commit
12 years ago