Steven Kirk
57dab3d7d0
Set dropdown popup min width.
11 years ago
Steven Kirk
95d9e6f106
Stylecop fixes.
11 years ago
Steven Kirk
3441a64876
Removed unused members.
11 years ago
Steven Kirk
8d2006c968
Make dropdown close on click.
11 years ago
Steven Kirk
b42d472b65
Added class RoutedEvent handlers.
11 years ago
Steven Kirk
467dd1b318
Revert "Fix scrollviewer causing lockups."
This reverts commit 18e3900edc .
11 years ago
Steven Kirk
18e3900edc
Fix scrollviewer causing lockups.
Add a throttle to showing/hiding scrollbars to prevent them flashing on
and off.
11 years ago
Steven Kirk
41fe7e28aa
Hack dev tools to work again.
Need to fix the root layout problem that hangs it though.
11 years ago
Steven Kirk
374d1723a2
Handle dropdown selection.
11 years ago
Steven Kirk
e2a67e42c7
Prevent popup from deactivating parent window.
11 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
11 years ago
Steven Kirk
fc5ff22d8e
Search logical tree for DataTemplates.
11 years ago
Steven Kirk
7a55e20f98
Fix GetTemplateControls
Make it return only controls that in the immediate template. Not sure
why it was returning nested templated controls before. The may have been
a reason but everything still seems to work like this...
11 years ago
Steven Kirk
7a8a9123c3
Implement ILogical on DropDown.
11 years ago
Steven Kirk
1b1d60d0c0
Make popup appear in right place.
11 years ago
Steven Kirk
06bf45ace3
Initial implementation of dropdown.
The popup appears in the wrong place, has placeholder content and steals
the main window focus, but it appears!
11 years ago
Steven Kirk
e0960f5891
Added IDataTemplate interface.
11 years ago
Steven Kirk
0f823cd387
Started implementing DropDown.
Mostly not yet implemented.
11 years ago
Steven Kirk
350b2444e2
Fix layout calculations w/margins.
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
7c09351939
Make logical tree work for TabControl.
It only contains the currently visible tab - I'm not so happy about
this...
11 years ago
Steven Kirk
2c1d2cb7a8
Display logical tree in DevTools.
11 years ago
Steven Kirk
f5a856e109
Make ItemsControl items be logical children.
11 years ago
Steven Kirk
90273c74dd
Added missing Ids to templates.
And allow ContentControl to not have a ContentPresenter in its control
template, as one isn't needed for TreeViewItem for example.
11 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.
11 years ago
Steven Kirk
09c1f41cd4
Reinstate Descendent selector tests.
Now we have logical tree back.
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
dca0494a5e
Moved collections to their own namespace.
11 years ago
Steven Kirk
336e1c4ae2
Implemented ILogical.
11 years ago
Steven Kirk
b20b94160d
Fix Font properties owner.
And make default values come from theme.
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
f158c3e399
Fixed scaling for Paths.
Will no doubt need revisiting as mentioned in the comments in
Shape.MeasureOverride.
11 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.
11 years ago
Steven Kirk
9afc768449
Added FPS counter to test app.
11 years ago
Steven Kirk
fc4d5ce32a
Added simple property transition animation.
Animation's a bit choppy though!
11 years ago
Steven Kirk
1c9cc11501
Run animation on UI thread.
11 years ago
Steven Kirk
6d45c57dbb
Added simple animation.
11 years ago
Steven Kirk
2dafd77beb
Removed unneeded code.
11 years ago
Steven Kirk
cf959fd8eb
Added RadioButton control.
11 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.
11 years ago
Steven Kirk
9f07dc5bad
Remove LayoutHelper.MeasureDecorator.
No longer needed as most of the logic was moved to MeasureCore.
11 years ago
Steven Kirk
f36ab8a2f1
Don't let TextBox collapse when it has no text.
11 years ago
Steven Kirk
d4733c5332
Moved a bit of stuff around.
11 years ago
Steven Kirk
d2d94da177
Fix TextBlock constraint not getting initialized.
11 years ago
SuperJMN
839302c997
Fixed entering of letter A
11 years ago
Steven Kirk
39691aecc3
Simplified TextBox scrolling.
11 years ago
Steven Kirk
542e81d129
Implemented TextBox scrolling.
11 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.
11 years ago
Steven Kirk
16dcd16440
Don't draw cursor when textbox has selection.
11 years ago
Steven Kirk
aef071ec8d
Draw selected TextBox text white.
11 years ago