Steven Kirk
b28b5e5a23
Tidied up Presenter/TemplatedParent logic a bit.
11 years ago
Steven Kirk
df08657e71
Tidied up ItemsControl logical parenting a bit.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
3441a64876
Removed unused members.
11 years ago
Steven Kirk
fc5ff22d8e
Search logical tree for DataTemplates.
11 years ago
Steven Kirk
e0960f5891
Added IDataTemplate interface.
11 years ago
Steven Kirk
350b2444e2
Fix layout calculations w/margins.
12 years ago
Steven Kirk
7c09351939
Make logical tree work for TabControl.
It only contains the currently visible tab - I'm not so happy about
this...
12 years ago
Steven Kirk
f5a856e109
Make ItemsControl items be logical children.
12 years ago
Steven Kirk
309ac30a41
Make ContentControl child be logical child.
The control this is created by the ContentPresenter now appears as the
logical child of the parent ContentControl.
12 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.
12 years ago
Steven Kirk
b20b94160d
Fix Font properties owner.
And make default values come from theme.
12 years ago
Steven Kirk
1c9cc11501
Run animation on UI thread.
12 years ago
Steven Kirk
6d45c57dbb
Added simple animation.
12 years ago
Steven Kirk
2dafd77beb
Removed unneeded code.
12 years ago
Steven Kirk
f36ab8a2f1
Don't let TextBox collapse when it has no text.
12 years ago
Steven Kirk
d2d94da177
Fix TextBlock constraint not getting initialized.
12 years ago
SuperJMN
839302c997
Fixed entering of letter A
12 years ago
Steven Kirk
39691aecc3
Simplified TextBox scrolling.
12 years ago
Steven Kirk
542e81d129
Implemented TextBox scrolling.
12 years ago
Steven Kirk
02aed11911
TextBoxView -> TextPresenter
Instead of being a private implementation detail of TextBox, make it use
a presenter control that list linked to the main control using binding.
Should give a lot more fexibility.
12 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.
12 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
12 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
12 years ago
Steven Kirk
7f90f5c8e6
Added mousewheel support to ScrollViewer.
12 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
12 years ago
Steven Kirk
3dbd669f7b
Added Layoutable.ApplyTemplate.
Rather than each different presenter/templated control rolling their
own.
12 years ago
Steven Kirk
033c686456
Added ScrollViewer to TreeViewStyle.
12 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.
12 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...
12 years ago
Steven Kirk
d9cd5ba3ab
Code was moved to MeasureCore.
12 years ago
Steven Kirk
16f2fccd42
Added content alignment properties.
And align button contents in the center of the button.
12 years ago
Steven Kirk
491dfa58bd
Move presenters to own namespace.
To try and discourage their use outside control templates.
12 years ago