Steven Kirk
00613b2d67
Use correct Contract exception.
11 years ago
Steven Kirk
cbfbc52803
Use direct PPs for SelectedIndex/Items.
11 years ago
Steven Kirk
1268e612c6
Fix binding mode checks.
BindingMode.Default should be equivalent to BindingMode.OneWay.
11 years ago
Steven Kirk
133dd7aa80
Enable AddOwner for direct PerspexProperties.
11 years ago
Steven Kirk
637b980919
Moved BindingPriority to its own file.
11 years ago
Steven Kirk
247831a6c8
Implemented direct PersexProperties.
11 years ago
Steven Kirk
91dda4c2d0
Handle attached properties in PerspexPropertyConverter.
11 years ago
Steven Kirk
0c21bef168
Fix bug in error message.
'value' was getting overwritten with null.
11 years ago
Steven Kirk
7e2a28c91f
Initial implementation of PerspexPropertyConverter.
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
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
Nikita Tsukanov
7d416715fe
Register SyncContext in RegisterServices
11 years ago
Nikita Tsukanov
99af4bfdb3
Added SynchronizationContext support
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
e56b189124
Renamed Binding -> BindingDescriptor
And documented it.
11 years ago
Steven Kirk
217cbd1575
Latest added animation takes priority.
Previously BindingPriority.Animation was an even-numbered priority
level, meaning that the last fired binding would take precedence,
however this means that if two animations are active, they would fight.
Use the latest added instead.
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
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
254eaac9fa
Stylecop fixes.
11 years ago
Steven Kirk
26015acfd9
Handle implicit conversions in perspex properties.
Fixes #49 .
11 years ago
Steven Kirk
e125d7e10c
More stylecop fixes.
11 years ago
Steven Kirk
e83c2e06fd
Make sure bound property is registered.
11 years ago
Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
df77302d94
Another tweak to the binding system.
Binding levels with a an even number priority use the last fired binding
for the current value, those with odd number priorities use the latest
added.
11 years ago
Steven Kirk
8d7d04ffd3
Added diagnostic popup to devtools.
11 years ago
Steven Kirk
fe6e021cb5
Make PriorityValue internal.
Want to add computed/readonly values in the near future which will not
use PriorityValue.
11 years ago
Steven Kirk
aef34f810d
Stylecop fixes.
11 years ago
Steven Kirk
3479dc7b5a
Added missing doc comments.
11 years ago
Steven Kirk
2b661dc420
Set priority for one time bindings.
11 years ago
Steven Kirk
7859588621
Don't use StartWith in GetObservable
As it erases the Description.
11 years ago
Steven Kirk
cffe103acc
Added PerspexObservable.
Similar to Rx's AnonymousObservable that is created using
Observable.Create, but it also implements IDescription. This description
is populated when created by PerspexObject.GetObservable.
11 years ago
Steven Kirk
a4c88ca764
Reworked bindings.
Now, two way bindings work as expected and setting a local value on a
property with a binding sets the value temporarily until the binding
changes value.
11 years ago
Steven Kirk
274ff5cebf
Only return initial PP value once.
11 years ago
Steven Kirk
8218d18bc2
Make GetSetValues return PerspexPropertyValues.
11 years ago
Steven Kirk
fc4d5ce32a
Added simple property transition animation.
Animation's a bit choppy though!
11 years ago
Steven Kirk
688f6532c8
Added coercion to PerspexProperties.
And use it to make sure ScrollViewer's offset is in range.
11 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
11 years ago
Steven Kirk
1930178de3
Tidied up PseudoClass stuff.
Make it more like AffectsMeasure etc. To do this required a
PerspexProperty.Initialized observable.
11 years ago
Steven Kirk
2492094141
Fix bug with perspex property changed.
It wasn't raised if the object didn't have a listener for that property.
11 years ago
Steven Kirk
aaca0a8cb1
Make GetObservable return current value.
11 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...
11 years ago
Steven Kirk
b93997c1b8
Display a bit more info about props in devtools.
12 years ago
Steven Kirk
f361fe23ce
Implemented basic GridSplitter for DevTools.
12 years ago
Steven Kirk
0aa671d75f
No longer need to work around a Splat bug.
12 years ago
Steven Kirk
ecbb40419c
Allow binding to plain IObservables.
12 years ago
Steven Kirk
e696dde0ec
Things now display correctly.
No keyboard input though.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
8e7be781f8
Implemented two-way binding.
And hooked up the TreeViewItem's expander button. The hit testing on it
is a bit off though...
12 years ago