Giuseppe Lippolis
72fd5f0105
fixes: PropertySetterInstance
5 years ago
Takoooooo
1e855bd738
cleanup
5 years ago
Max Katz
f276c4ed8b
Changes after review
5 years ago
Max Katz
031e8ac2f0
Complete
5 years ago
Max Katz
e5ca5c38e8
Update IChildIndexProvider interface with ChildIndexChanged and implement in on items controls
5 years ago
Max Katz
69fb1c056f
FIrst version of nth-child
5 years ago
Giuseppe Lippolis
0309dda390
fixes: Replace CS8600 warning suppression with null-forgiving operator
5 years ago
Giuseppe Lippolis
82729a1bd9
fixes: some null annotation
5 years ago
Takoooooo
df5a9c7afc
wip
5 years ago
Takoooooo
01518b37e7
test
5 years ago
Takoooooo
063e5e7be3
test
5 years ago
Takoooooo
22432a002d
test
5 years ago
Wiesław Šoltés
84dd710fc1
Use attached property
5 years ago
Wiesław Šoltés
8f203c6800
Add Animator property to Setter
5 years ago
Max Katz
3984ba2ec5
Enable nullability for InputElement, Interactive, Visual
5 years ago
Max Katz
4f82d510c5
Enable AvaloniaObject nullablity
5 years ago
Dariusz Komosinski
4d4ca6806c
Avoid allocating lists in Classes.
5 years ago
Nikita Tsukanov
4688f63632
Simplify the code a bit
6 years ago
Nikita Tsukanov
61792ce45f
Allow binding to classes with Classes.ClassName
6 years ago
Dariusz Komosinski
bf40bae0ed
API diff update.
6 years ago
Dariusz Komosinski
02fa3502e0
Cleanup styling code.
6 years ago
Dariusz Komosinski
188faa07c5
WIP setup for inspecting styles.
6 years ago
Dan Walmsley
0dc232e9b9
bump api compat.
6 years ago
Yoh Deadfall
38ce4a2a28
Added ability to use non well known property types in style selector
6 years ago
Steven Kirk
b989086c5f
Add breaking change.
6 years ago
Steven Kirk
64677edb8a
Fix resolving dynamic resource in Application.
Instead of looking for an `IStyledElement` as an anchor, look for an `IResourceHost` because `Application` doesn't implement `IStyledElement` but it does implement `IResourceHost` and this interface has everything we need.
6 years ago
Steven Kirk
90fb76f364
Prevent exceptions when removing styles.
When `_target.Owner` was null, the resource observable produced a `null` which may not be valid for the target property, resulting in an exception . Although the exception is caught, it slows things down.
6 years ago
Steven Kirk
42bab93224
Handle nested batch updates.
6 years ago
Steven Kirk
0f238113f5
Implement batching for AvaloniaObject property values.
Cuts down the amount of notifications raised when controls' stying is attached/detached.
Part of fixing #5027 .
6 years ago
Steven Kirk
72a43174e1
Lazily evaluate <Template>s in setters.
Part of fixing #5027 .
6 years ago
Steven Kirk
d8fbd95ef0
Don't subscribe to inner observable if not active.
When subscribing to a `PropertySetterBindingInstance`, if the owner style is not active then there's no need to subscribe to the inner observable as this can cause resource lookups etc. Part of fixing #5027 .
6 years ago
Dariusz Komosinski
2fd70994ad
Remove enumerator allocations and LINQ from children change notifications.
6 years ago
Nikita Tsukanov
84734f22e4
Disable strong name signing until SharpGen issue is resolved
6 years ago
Nikita Tsukanov
e4505ce861
Strong name support
6 years ago
danwalmsley
14aff78be5
use sealed for attribute class.
Co-authored-by: Dariusz Komosiński <darek.komosinski@gmail.com>
6 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
6 years ago
Steven Kirk
de8171f8ac
Correctly handle UnsetValue/DoNothing in setters.
Just need to call `BindingValue<T>.FromUntyped` instead of doing a conditional, because otherwise we run the risk of passing `UnsetValue` to the `BindingValue<T>` ctor which will throw in that case.
6 years ago
Dan Walmsley
f0c4e90c78
remove apicompat baselines.
6 years ago
Dan Walmsley
7d92a5183e
add baselines.
6 years ago
Dan Walmsley
451ee7c0b7
Revert "add baselines."
This reverts commit fd817c06b0 .
6 years ago
Dan Walmsley
fd817c06b0
add baselines.
6 years ago
Dan Walmsley
26d68e9958
add api diff to most projects.
6 years ago
Dariusz Komosinski
6ce1d94a09
Remove a few warnings.
6 years ago
Steven Kirk
479d480ad9
Parameterize logger on area as well as level.
So we can filter our more logging calls early.
6 years ago
Steven Kirk
f46c62801e
Convert Color resources to brushes.
Make `StaticResource` and `DynamicResource` automatically convert `Color`s to `ImmutableSolidColorBrush`es and add a `ColorToBrushConverter` for use by bindings.
To do this I made `GetResourceObservable` accept an optional conversion function.
6 years ago
Steven Kirk
ab9522f83d
Fix silly mistake.
6 years ago
Steven Kirk
0a1cb6fdf8
Added ResourcesChangedEventArgs.Empty.
We don't need to allocate a new instance each time.
6 years ago
Steven Kirk
dcdaf5e0bf
Don't raise ResourceChanged on reparenting...
...when the new parent isn't attached to the tree. This prevents us sending a load of useless `ResourcesChanged` events.
6 years ago
Steven Kirk
7022c137e7
Propagate ResourcesChanged to template children.
Makes `Changing_Resource_In_Templated_Parent_Should_Affect_Templated_Child` pass again.
6 years ago
Steven Kirk
8a74069932
Fix leak in PropertySetterBindingInstance.
`_subscription` was being used twice: for the subscription from the `PropertySetterBindingInstance` to the control (line 69) and from the subscription to the source binding to the `PropertySetterBindingInstance` (line 151).
6 years ago