Nikita Tsukanov
189bce9073
[X11] File chooser accept action names
7 years ago
Steven Kirk
561f070615
Make sure DataGrid is loaded in designer.
Add an `AppBuilder` extension instead of calling `DataGrid.Load` so that the `Avalonia.Controls.DataGrid` assembly gets loaded in the designer.
7 years ago
Steven Kirk
f56497c3bd
Remove unnecessary reference.
7 years ago
Steven Kirk
920f91f321
Move DataGrid theme to Themes directory.
7 years ago
OronDF343
d065568be9
Added MultiBinding.StringFormat + Relevant unit tests
7 years ago
OronDF343
529ab728cb
Add support for ConverterParameter to MultiBinding
7 years ago
Jumar Macato
4f00869837
Remove temporary hacks from 8ea2234.
Add a dummy function to load the DataGrid assembly before
initializing Avalonia.
Move DataGrid theme back to Avalonia.Controls.DataGrid.
7 years ago
Jumar Macato
d5399091b6
Add prefixes and correct references from PageCollectionView to DataGridCollectionView.
7 years ago
Steven Kirk
523dcf5d30
Translate TextNode bounds by offset.
The bounds of `TextNode` must include the offset passed to the constructor.
7 years ago
Steven Kirk
f9b263997f
Don't override UserControl.StyleKey.
Instead of pinning `UserControl.StyleKey` at `typeof(UserControl)`, make the `UserControl` default template selector `:is(UserControl)`. This will allow controls derived from `UserControl` to be more easily styled.
7 years ago
José Pedro
e6e8907643
Changed IScreenImpl.AllScreens return type so that it's not array.
7 years ago
Nikita Tsukanov
bbfed1c3a5
Refactored platform options
7 years ago
MonkAlex
1114df5d45
#2356 Small rename Objects to Items
7 years ago
MonkAlex
1c460061cc
#2355 Remove useless xmldoc.
7 years ago
Dariusz Komosiński
10cb451ad0
Add Equals implementation to the TransformedBounds
7 years ago
MonkAlex
235cc660fd
#1052 Rename TreeContainerIndex.Items to Containers
7 years ago
MonkAlex
33a6ae8215
#2355 Direct access for treeview index values when select all.
7 years ago
MonkAlex
57dcfadf57
#2355 'Select all' support TreeView too, only visible part of tree.
7 years ago
MonkAlex
e38e49e7d0
#2355 'Select all' for SelectingItemsControl with platform hotkey configuration.
7 years ago
MonkAlex
e3d7d47753
#2355 Ctrl+A hotkey for SelectingItemsControl
7 years ago
Jumar Macato
102da2cc79
Remove worthless QualityBand xml comment parameters.
7 years ago
Jumar Macato
0ffad0001a
Remove regions + superflous empty newlines.
7 years ago
Jumar Macato
1d9593a238
Remove commented-out code on DataGrid.
7 years ago
Dariusz Komosinski
c3480fb840
Remove TreeViewHelper and shorten the code so the extra struct is not needed.
7 years ago
Dariusz Komosinski
5822e60db6
Fix ternary operator formatting, add config entry to the .editorconfig.
7 years ago
Dariusz Komosinski
c9d8fa6a9d
Move SynchronizeItems about private methods.
7 years ago
artyom
5e7a5b460c
Synchronize DataContext with ReactiveUI.IViewFor.ViewModel property
7 years ago
Dan Walmsley
9edbd199e9
formatting.
7 years ago
Dan Walmsley
e799543b94
fix menuitem command property.
7 years ago
Dan Walmsley
17ac0b8cb1
prevent occasional exception being logged in render loop.
7 years ago
Dariusz Komosinski
6727bbe3df
Fix Skia rendering hairline width strokes when Pen thickness is 0.
7 years ago
Dariusz Komosinski
2c04c95a12
Expose SelectedItems property. Add more tests for edge cases failing for ListBox.
7 years ago
José Pedro
96d84c942d
Use Array.Empty instead of allocating empty arrays.
7 years ago
Steven Kirk
36da749d38
Use comma operator for Separator style.
7 years ago
Steven Kirk
89d969b367
Added selector comma operator.
The comma selector can be used to separate a number different selectors, all of which will be applied to the control with an OR.
Fixes #1742
7 years ago
Dariusz Komosinski
85d309830a
TreeView multiple selection support.
7 years ago
Steven Kirk
4a91003981
FormattedText.Measure() -> FormattedText.Bounds.
Changed `FormattedText.Measure` method to a `Bounds` property.
7 years ago
Steven Kirk
e7e57d0e91
Fix text rendering where TextAlignment != Left.
The renderer was using the wrong bounds for text where `TextAlignment != Left` as seen in #1625 . To fix this, change `FormattedTextImpl.Size` to `Bounds`, which returns a rect that takes into account the text alignment and similarly change `FormattedText.Measure` to return a `Rect` instead of a `Size.
Fixes #1625 .
7 years ago
Dan Walmsley
5128f70f48
whitespace.
7 years ago
Dan Walmsley
6b2d9a020f
Revert "Add GCNotifier class."
This reverts commit d42b22d5e8 .
7 years ago
Steven Kirk
12cd666dc7
Respect RenderTransform in GetPosition.
Fixes #1558 .
7 years ago
Steven Kirk
e486d7f8ea
Allow `{Binding .}` syntax.
Fixes #1898 .
7 years ago
Jumar Macato
7d8e218699
Make ICollectionView internal and rename DataGrid specific
classes on Avalonia.Collection namespace of DataGrid's assembly
with DataGrid prefix to avoid API pollution later on.
7 years ago
Dan Walmsley
d42b22d5e8
Add GCNotifier class.
7 years ago
Steven Kirk
569e7d29fc
Don't try to invert a non-invertible matrix.
Fixes #2053 .
7 years ago
Steven Kirk
f322501852
Don't draw null geometry in GeometryDrawing.
And add a guard to `DrawingContext` to detect having a null `Geometry` passed, as we do for `DrawImage`, `DrawText` etc.
Fixes #2053 .
7 years ago
Steven Kirk
7a738e18dd
Allow for null DefiningGeometry in Shape.
Fixes #2335 .
7 years ago
Nikita Tsukanov
a89b6128dd
Call Compact on Add
7 years ago
José Pedro
48dccadfb0
Fixed argument exception constructor calls.
Use nameof where possible.
Fixed wrong check in RelativeSource.AncestorLevel.
7 years ago
Steven Kirk
ce3138efda
Don't create a schema context each time.
The change in the previous commit to create a new `AvaloniaXamlSchemaContext` for each instance of `AvaloniaXamlLoader` had a negative performance effect. Instead, keep two instances of the schema context around: one for normal loading and one for design-time loading.
7 years ago