Steven Kirk
dca0494a5e
Moved collections to their own namespace.
12 years ago
Steven Kirk
b20b94160d
Fix Font properties owner.
And make default values come from theme.
12 years ago
Steven Kirk
a9a569557b
Moved some properties around.
- Moved Background out of Control. Fixes #14 .
- Added Font properties to TemplatedControl.
12 years ago
Steven Kirk
f158c3e399
Fixed scaling for Paths.
Will no doubt need revisiting as mentioned in the comments in
Shape.MeasureOverride.
12 years ago
Steven Kirk
2f7981f1cb
Added an animated rotation.
To do this had to move Animatable to the bottom of the class hierarchy
to allow Transform to inherit from it.
12 years ago
Steven Kirk
9afc768449
Added FPS counter to test app.
12 years ago
Steven Kirk
fc4d5ce32a
Added simple property transition animation.
Animation's a bit choppy though!
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
cf959fd8eb
Added RadioButton control.
12 years ago
Steven Kirk
7fe1f7e814
Some work on Paths.
Make paths with Stretch != None correctly fill the Path control's
available size. Added a Path_Tick_Scaled test with a path from
MahApps.Metro to test this.
12 years ago
Steven Kirk
9f07dc5bad
Remove LayoutHelper.MeasureDecorator.
No longer needed as most of the logic was moved to MeasureCore.
12 years ago
Steven Kirk
f36ab8a2f1
Don't let TextBox collapse when it has no text.
12 years ago
Steven Kirk
d4733c5332
Moved a bit of stuff around.
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
16dcd16440
Don't draw cursor when textbox has selection.
12 years ago
Steven Kirk
aef071ec8d
Draw selected TextBox text white.
12 years ago
Steven Kirk
d575dfa773
Moved Perspex <-> D2D conversions to ext. methods.
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
00aa02964f
Inplemented double and triple click in TextBox.
Copied a load of stuff from Moonlight regarding finding next/prev word
that I've put in StringUtils.
12 years ago
Nelson Carrillo
a6476cb7ec
- Added Ctrl+A to select all text in the TextBox
- Made the TextBox lose its selection when focus is lost.
12 years ago
Steven Kirk
645094ccec
Cancel TextBox selection on cursor movement.
12 years ago
Steven Kirk
9fa861e34b
Added mouse-select to TextBox.
12 years ago
Steven Kirk
eca1e1334e
Don't remove selection when nothing entered.
12 years ago
Steven Kirk
82f31f92f9
Replace selection in text boxes.
12 years ago
Steven Kirk
31a3b9ea78
Make Up/Down arrows work in text boxes.
12 years ago
Steven Kirk
9b6efbc3d2
Made End key work in multi-line text boxes.
12 years ago
Steven Kirk
050e9cc6e8
Make Home key work in multi-line text boxes.
12 years ago
Steven Kirk
71e46c3084
Added TextWrapping setting.
TextBox doesn't handle quite a few things yet, scrolling and lines for
example.
12 years ago
Steven Kirk
d0c8146681
Make Home, End and Ctrl keys work in TextBox.
12 years ago
Steven Kirk
2e0e225e26
Added selection to TextBox.
12 years ago
Steven Kirk
2be668db1a
More refactoring of FormattedText.
12 years ago
Steven Kirk
baafad1af7
Removed ITextService.
Cairo renderer completely broken by this point.
12 years ago
Steven Kirk
20a944013e
Started refactoring of FormattedText.
12 years ago
Steven Kirk
dc6a6feb49
Added AcceptsReturn and AcceptsTab to TextBox.
12 years ago
Steven Kirk
42f7254393
Added IsEnabled.
12 years ago
Steven Kirk
688f6532c8
Added coercion to PerspexProperties.
And use it to make sure ScrollViewer's offset is in range.
12 years ago
Steven Kirk
c28c7e6b7a
Removed debug code.
12 years ago
Steven Kirk
43e1e3c168
Fixed final layout problem i'm aware of.
(Currently!)
12 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
12 years ago
Steven Kirk
4f9dc138da
Use measure layout algorithm for arrange.
12 years ago
Steven Kirk
6d2056ad2b
Added unit test to test breakage.
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
338e82c43d
Fixed bug in Grid.
Bug came from Moonlight. Fixes #3 .
12 years ago