Steven Kirk
5cc5b91930
Fix xunit warnings.
8 years ago
Steven Kirk
4116bc54c0
Added failing unit test for #1260 .
9 years ago
Steven Kirk
d6b6a0fa96
Refactored InstancedBinding creation.
Previously it wasn't clear which constructor on `InstancedBinding` must be called for a particular binding mode. Refactored the constructors:
- We now have a single public ctor which takes an `ISubject`, as a subject can be used for all binding modes.
- Instanced bindings with other sources such as single values and `IObservables` are now constructed via static methods which only allow the correct sources for that binding mode
9 years ago
Steven Kirk
ca7584ce3f
Added failing test for #1218
9 years ago
Nikita Tsukanov
913149d093
Switched to .NET Standard 2.0
9 years ago
Steven Kirk
a72ce3671d
Added ResourceInclude.
9 years ago
Steven Kirk
ac8cc99f16
Started adding MergedDictionaries.
9 years ago
Steven Kirk
0e155bd2d4
Make dynamic resources work in more situations.
Fixes #492 in a fashion: `DynamicResource` now works for this scenario.
9 years ago
Steven Kirk
090a1ec8cf
Lazily initialize Styles.
Added an `IStyleHost.IsStylesInitialized` property to prevent the need for allocating empty `Styles` collections for many controls.
9 years ago
Steven Kirk
84aa27162f
Made a start adding Control/Application.Resources.
9 years ago
Steven Kirk
b5df0cdcee
Remove Style.Resources setter.
We don't need it.
9 years ago
Steven Kirk
fec2823537
StyleResources -> ResourceDictionary.
And move it to the `Avalonia.Controls` namespace.
9 years ago
Jeremy Koritzinsky
58b3ff90ab
Reduce build warnings by setting a few flags and not using deprecated overloads.
9 years ago
Steven Kirk
11586a4d4c
Don't have async void tests.
That's bad. Also un-skip binding expression tests.
9 years ago
Steven Kirk
af50118162
Added missing method.
Why didn't you notice that before, VS?
9 years ago
Steven Kirk
a232b137b5
Allow reuse of existing tooltip popup.
To do this, had to fix a problem where templated children weren't notified of being re-attached to a logical tree.
9 years ago
Wiesław Šoltés
872575b9b7
Set project OutputType
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Wiesław Šoltés
e9d108a506
Fixed xml tags
9 years ago
Wiesław Šoltés
6b0a5c0449
Converted Avalonia.Styling.UnitTests to a new project system
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Nikita Tsukanov
25c7be5b7a
Removed packages.config from csproj.files
9 years ago
Nikita Tsukanov
dc8a32d1b1
Run Avalonia.Base.UnitTests using `dotnet test`
9 years ago
Nikita Tsukanov
485fe1364e
Everything is buildable via MSBuild
9 years ago
Nikita Tsukanov
b6b5b9de88
Test now compile and can be run from visual studio
9 years ago
Andrey Kunchev
245992abc6
fix build for resource tests
9 years ago
Nikita Tsukanov
b0a063838f
Migrated to PackageReference
9 years ago
Steven Kirk
71c6c572ac
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
6036bd5998
Moved ncrunch files to their own dir.
Also deleted v2 ncrunch files and update .gitignore.
9 years ago
Steven Kirk
59c49d259d
Renamed assembly SceneGraph -> Visuals.
To make way for low-level scene graph library.
10 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
10 years ago
Wiesław Šoltés
9cdcf6cb02
Revert "Updated projects and packages"
This reverts commit 7cca79b435 .
10 years ago
Wiesław Šoltés
7cca79b435
Updated projects and packages
10 years ago
Steven Kirk
5a9371f786
Pass EnableDataValidation to ExpressionObserver.
10 years ago
Wiesław Šoltés
7282744b70
Removed outdated binding redirects and app.config
10 years ago
Jeremy Koritzinsky
3c5848bc2c
Updated Rx to 3.0 and fixed a failing test from a not fully set up mock.
10 years ago
Steven Kirk
2268227f20
Make template instantiated by style a name scope.
To do this had to move the name scope stuff into Avalonia.Styling.
10 years ago
Steven Kirk
d772017768
Added <Template>
The new <Template> is a template that can be used as a setter value,
meaning that the setter will materialize the template each time it sets
the value. Make assigning a control to `Setter.Value` throw an error
indicating that the control should be wrapped in a template.
10 years ago
Steven Kirk
d97c276b52
Added ncrunch project files.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago