Steven Kirk
7b192505d7
Set TemplatedParent in popups.
Popups that appear in control templates should set the TemplatedParent
property of their child controls.
11 years ago
Steven Kirk
85dfbbb6d5
Moved Popup to Primitives namespace.
11 years ago
Steven Kirk
f30b1fa0a1
Removed commented-out code.
11 years ago
Steven Kirk
40e1f5161b
Apply TemplatedParent/call ApplyTemplate twice.
The first time before controls are added to the visual tree. This gives
a chance for controls to be reparented to set up the logical tree before
styling is applied. The second time, after styling is applied in order
to apply the templates of nested templated controls.
11 years ago
Steven Kirk
c7dc89f06b
Fixed applying control templates.
And added unit tests for it.
11 years ago
Steven Kirk
b05f68eb42
Documented TemplatedControl.
11 years ago
Steven Kirk
46319743af
Remove unnecessary measure/arrange.
11 years ago
Steven Kirk
5303eb7cd8
Make all tests pass again.
Menus displaying weirdly though.
11 years ago
Steven Kirk
abad671bba
Set TabOnceActiveElement in SelectingItemsControl.
11 years ago
Steven Kirk
eb6bd28664
Rename TypedItemContainerGenerator
As ItemContainerGenerator<T>.
11 years ago
Steven Kirk
77e81c4360
Make TabControl/Deck work again.
11 years ago
Steven Kirk
3492bd617f
Added SelectingItemsControl.AutoSelect.
11 years ago
Steven Kirk
6af31ecf43
Use modern Items property changed notification.
11 years ago
Steven Kirk
3010bc76fb
Use IItemContainerGenerator interface.
Instead of ItemContainerGenerator class.
11 years ago
Steven Kirk
ff331693f0
Started refactoring SelectingItemsControl.
11 years ago
Steven Kirk
eabf674027
Move more stuff from Control to IControl.
To do this, added the PropertyBag interfaces from ideas branch.
11 years ago
Steven Kirk
696b016cf5
Don't explicitly set ItemsControl panel orientation.
That way, can be overridden in styles and thus doesn't need to be
overridden in TabStrip.
11 years ago
Steven Kirk
c1ba7cc526
Use interfaces in templates.
11 years ago
Steven Kirk
a97465b1bd
Test scrollbar auto-hiding.
11 years ago
Steven Kirk
c453ad3b36
Removed Scrollbar binding workaround.
Binding system now handles this. Added unit tests to ensure it works
property.
11 years ago
Steven Kirk
4d56d2a440
Remove ScrollBar pseudoclasses.
11 years ago
Steven Kirk
324785f253
Documented ScrollBar.
11 years ago
Steven Kirk
09ef0309b1
Added validation/coercion to RangeBase properties.
11 years ago
Steven Kirk
570d37509a
Stylecop-ed ProgressBar stuff.
11 years ago
Steven Kirk
9a9132c42b
Manipulate logical parent thru ISetLogicalParent.
Ported from ideas branch. Also includes beginnings of INameScope
support, though nothing implements this interface yet.
11 years ago
Steven Kirk
4e443c87bd
More porting docs etc from ideas branch.
11 years ago
Steven Kirk
ee8c211683
Renamed PerpexProperty coercion as validation.
As it can be used to invalidate a property change by throwing an
exception as well as coerce the value.
11 years ago
Nelson Carrillo
d0fcaf52be
Implemented ProgressBar
11 years ago
Steven Kirk
576ee1500d
Added access key support to AccessKeyHandler.
11 years ago
Steven Kirk
face85f0de
Added AccessText.AccessKey.
11 years ago
Steven Kirk
b740d95e15
Don't try to select items that don't belong to you.
This was breaking DevTools.
11 years ago
Steven Kirk
e3533d720b
Fix ListBox selection.
And add a unit test for it.
11 years ago
Steven Kirk
4f98bb5476
Make changing selecting in item work.
Make SelectingItemsControl listen for IsSelectedChangedEvents from child
items and update its selection accordingly.
11 years ago
Steven Kirk
e085e56c70
Show access keys on Alt/F10.
11 years ago
Steven Kirk
e04e5cc632
Added ShowAccessKey property to AccessText.
11 years ago
Steven Kirk
c65c9fb7c6
Show access keys in menus.
Currently always shown, whether user pressed alt/f10 or not.
11 years ago
Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
7f608ffa6c
Fixed failing tests.
11 years ago
Steven Kirk
d6d7de662c
Don't make SelectingItemsControl focusable for now.
11 years ago
Steven Kirk
a267e1c070
DesiredSize doesn't need to be null.
11 years ago
Steven Kirk
bf9071dcd0
Fix ScrollBar.Value.
Wasn't being updated inside ListBox and this is why...
11 years ago
Steven Kirk
0e4219ecb9
Set default value for SelectedIndex.
11 years ago
Steven Kirk
fbd33a2163
Ensure IsSelected set on ApplyTemplate.
11 years ago
Steven Kirk
55fbe43214
Fix SelectingItemsControl.CoerceSelectedItem
11 years ago
Steven Kirk
d27205716a
Handle deselecting removed items...
in SelectingItemsControl.
11 years ago
Steven Kirk
5600ee32a4
Handle null Items in SelectingItemsControl.
11 years ago
Steven Kirk
18a976dc55
Added IEnumerable extension methods.
As we're working on a non-generic IEnumerable in ItemsControl related
controls.
11 years ago
Steven Kirk
41e434e13b
Added SelectedItemsControl.SelectedIndex
11 years ago
Steven Kirk
18ae814775
Make SelectingItemsControl abstract.
As it displays nothing by default.
11 years ago
Steven Kirk
06e0dde700
Track adorned element position.
Closes #38 . Still need to track transforms and clip rectangles, but good
enough for now.
11 years ago