Steven Kirk
46b3ce2a01
Fix ScrollViewer.
Use calculated values for scrollbar properties where possible.
11 years ago
Steven Kirk
2577855b09
Correctly resolve attached properties.
Design.Width/Height was getting written to Width/Height. Should fix
#428 .
11 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
11 years ago
Steven Kirk
c052d389a9
Fix ScrollViewer.
Make various properties Direct properties, which gives them the correct
binding behavior.
11 years ago
Steven Kirk
30a756fb83
Refactored binding somewhat.
- Simplified PerpsexObject interface to a simplified single interface,
IPerspexObject
- Moved GetObservable etc to extension method
11 years ago
Steven Kirk
c810f95904
Don't ApplyTemplate on nested templated controls...
...during ApplyTemplate. This was so that ItemsControls could their find
ItemsPresenters nested in other templated controls. Instead use
IItemsPresenterHost to make the presenter register itself with its
TemplatedParent.
11 years ago
Steven Kirk
4ef9639f3e
Removed LINQ from MeasureOverride.
And removed empty MeasureOverride methods.
11 years ago
Steven Kirk
bfc010f757
Initial implementation of logical scrolling.
aka IScrollInfo in WPF.
11 years ago
Steven Kirk
6dc9ee31e0
Added doc comments for ScrollViewer.
11 years ago
Steven Kirk
fa872389c3
Make ScrollContentViewer.Offset get coerced.
Use the same logic as for ScrollViewer.
11 years ago
Steven Kirk
34cca87b99
Removed workarounds.
11 years ago
Steven Kirk
142eaa1c7c
More work on XAML styles.
- Added "Control[Property=Value]" selector handling
- Added hacks for ExpressionObserver not currently handing attached
properties
- Added ContentControl style
- Fixed ScrollBar and TextBox
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
09d6e22f5e
Fix scrollable controls in XAML.
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
Steven Kirk
95d9e6f106
Stylecop fixes.
12 years ago
Steven Kirk
3441a64876
Removed unused members.
12 years ago
Steven Kirk
467dd1b318
Revert "Fix scrollviewer causing lockups."
This reverts commit 18e3900edc .
12 years ago
Steven Kirk
18e3900edc
Fix scrollviewer causing lockups.
Add a throttle to showing/hiding scrollbars to prevent them flashing on
and off.
12 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
12 years ago
Steven Kirk
d4733c5332
Moved a bit of stuff around.
12 years ago
Steven Kirk
39691aecc3
Simplified TextBox scrolling.
12 years ago
Steven Kirk
542e81d129
Implemented TextBox scrolling.
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
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
9ca5b930c7
Fixed ScrollViewer maths.
12 years ago
Steven Kirk
73ebfc9475
Hide scrollbars on ScrollViewer when not needed.
Also added an image size slider to test.
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