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
Steven Kirk
30ce103d8d
Scroll list box with selection.
Fixes #33 , however the focus adorner is displayed in the wrong position.
#38 will fix this.
11 years ago
Steven Kirk
5da890fbfb
Don't handle keypresses in TabControl.
11 years ago
Steven Kirk
87a87a4495
Only handle arrow keys!
11 years ago
Steven Kirk
8f46c1360d
Make focus follow listbox selection.
11 years ago
Steven Kirk
c29cac0b9f
Improve directional naviation a bit.
In SelectingItemsControl. Still not completely there as we should do a
visual search in the absence of INavigablePanel (e.g. for Canvas, Grid).
Fixes half of #44 .
11 years ago
Steven Kirk
b369c30a2e
Implemented Tab focus.
Should hopefully be the start of a non-hacky tab focus solution.
11 years ago
Steven Kirk
3efc8e8920
Improved tab focus handling a bit.
11 years ago
Steven Kirk
6fa126f827
Show keyboard focus adorner.
11 years ago
Steven Kirk
783211c964
Added Visual.ZIndex.
And set ZIndex of adorner layer to top-most.
11 years ago
Steven Kirk
fcb746a1c4
Initial implementation of adorners.
Adorn elements when moused over in DevTools. Still a fair few things
missing including:
- Need to track position of adorned elements and move the adorner if
they move.
- Adorner is shown beneath AdornerDecorator contents. Need to implement
Z-index to allow it to be shown above.
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
ab916df3dc
Fix dropdown open/close behavior.
Now that new eventing stuff is in place.
Also fix bug with AddClassHandler where it was triyng to call every
object irregardless of whether it was the correct type.
11 years ago
Steven Kirk
78901c776e
Make class handlers work again.
11 years ago
Steven Kirk
aa63b5fa15
Started refactoring events.
Tunnelled and bubbling events can now be represented by a single
RoutedEvent. Next need to implement 'handledEventsToo'.
11 years ago
Steven Kirk
5a1aca2876
Make template find methods to extension class.
11 years ago