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
Steven Kirk
c9ee3847ce
TreeView work in progress...
12 years ago
Steven Kirk
454393b71a
Added TabControl.
12 years ago
Steven Kirk
37d29816fb
Added a diagnostic to print the visual tree.
12 years ago
Steven Kirk
d9b0876522
Fix properties that affect measure/render etc
12 years ago
Steven Kirk
895d3d4146
Fix the return type of the binding indexer.
12 years ago
Steven Kirk
d46f10cd53
Added a new binding syntax.
Allows binding to be done in initializer lists when using the new syntax
available in the Roslyn preview.
12 years ago
Steven Kirk
00b1dff599
Removed commented out method.
12 years ago
Steven Kirk
1de05e4262
Check properties are registered when setting.
12 years ago
Steven Kirk
d680fdb76d
Stylecop fixes
12 years ago
Steven Kirk
4b6e1b7d1b
Fixed file headers.
12 years ago
Steven Kirk
111c562d3d
Removed readonly perspex properties.
They were half-baked. Will add them back in again later.
12 years ago
Steven Kirk
7498319b1c
Renamed mouse stuff to pointer.
12 years ago
Steven Kirk
79f840d225
Removed the DeferChanges stuff for now.
12 years ago
Steven Kirk
797cbb433b
Added TemplateBinding syntactic sugar.
12 years ago
Steven Kirk
486863f795
Added StyleTrigger binding priority.
This allows :mouseover etc to override the value that comes from the
templated parent.
12 years ago
Steven Kirk
ab5480f59c
Slightly change the selector syntax.
12 years ago
Steven Kirk
012a010ba3
Made all tests pass again.
12 years ago
Steven Kirk
469616cc49
Moved observable into property.
12 years ago
Steven Kirk
d1491d9ceb
Started revamping binding system.
To allow prioritized bindings.
12 years ago
Steven Kirk
daef98fa7c
Removed unused class.
12 years ago
Steven Kirk
f62be9ef3a
DeferStyleChanges -> DeferChanges
12 years ago
Steven Kirk
18bbb2c41e
WIP
Not sure where I am - went away for 2 weeks and forgot what I was doing.
oops.
12 years ago
grokys
bba9893842
Removed the code contracts /shit/.
12 years ago