Steven Kirk
234664011c
Fixed typo.
6 years ago
Steven Kirk
bc079008d1
Remove usage of deprecated input APIs.
6 years ago
Steven Kirk
2fcde9e34d
Use OnApplyTemplate instead of OnTemplateApplied.
- More similar to WPF API
- Less bug-prone (see #3744 )
`OnTemplateApplied` still exists, but is deprecated and does nothing.
6 years ago
Steven Kirk
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
6 years ago
sdoroff
d3fcebc716
Fix StringFormat in DataGridBoundColumns
Prevent using the default converter when a Binding.StringFormat is present
6 years ago
sdoroff
eb8de34334
Reset DesiredHeight before during measure
Sets DataGridCells.DesiredHeight to 0
before measuring the individual cells
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Gary Hertel
1cfc530c11
Changed the DataGrid mouse wheel delta from 2 to 3 lines (48 pixels -> 72 pixels)
The default Windows scroll is 3 lines, which requires a lot less scrolling than the current default.
This value is currently hardcoded and can't be changed elsewhere.
6 years ago
Symbai
acbaecd311
Update DataGridColumnHeader.cs
6 years ago
Symbai
7ca8d02123
Revert "change selected row background brush"
This reverts commit 863b0da1a1 .
6 years ago
Symbai
863b0da1a1
change selected row background brush
6 years ago
Symbai
8b0e291f41
Update Default.xaml
6 years ago
Symbai
da2c7193cc
Add public DataGrid scroll events ( #3547 )
* Update DataGrid.cs
* Update DataGrid.cs
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
6 years ago
Symbai
5576a644b0
Update Default.xaml
6 years ago
Symbai
2e4624683b
Update Default.xaml
6 years ago
Symbai
010ec8273d
Update Default.xaml
6 years ago
José Pedro
12e483acd1
Replaced obsolete PointerEventArgs.Device usages.
6 years ago
Symbai
52dc41af02
Update Default.xaml
6 years ago
Symbai
c428e00de7
Update Default.xaml
6 years ago
Symbai
82c963eb80
Update Default.xaml
6 years ago
José Pedro
fc9a6d5746
Updated obsolete API usages.
6 years ago
Chris
6121dc41a0
fix datagrid ascending multi-column sort
6 years ago
Chris
5b1bd80f4b
fix datagrid ascending multi-column sort
6 years ago
Steven Kirk
3a914c282b
Don't declare property fields AvaloniaProperty<>.
Instead use `StyledProperty<>`.
6 years ago
Steven Kirk
b89305d708
Set pseudoclasses manually.
It makes creating new controls a _lot_ faster.
6 years ago
Steven Kirk
aa81db75a0
Added WPF-style validation for AvaloniaProperty.
6 years ago
Steven Kirk
6be3acb46c
Make ValueStore typed.
Major refactor of the Avalonia core to make the styled property store typed.
6 years ago
Nikita Tsukanov
a16e3bff7f
Added InitialPressMouseButton to PointerReleasedEventArgs that returns the button that caused the PointerPressed event
MouseButton is now deprecated with error, since people need to decide which behavior they want
7 years ago
Steven Kirk
400e64dc15
Fix formatting.
7 years ago
Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
7 years ago
danwalmsley
66d79c025d
Update Default.xaml
7 years ago
JaggerJo
bc1ddc31ab
remove duplicate setter for "HeadersVisibility".
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
sdoroff
9bbca4acc3
DataGrid RowDetail Fix
Fixed a bug where row details would fail to show if the templated
element had a non-empy margin
7 years ago
Nikita Tsukanov
dbc284d96e
Set PackageId for github's dependency graph to work
7 years ago
Jumar Macato
fbd7ee5963
Remove `UseDataGrid` since DataGrid works without that now.
7 years ago
Dan Walmsley
0df770b1c4
fix datagrid xmlns
7 years ago
Dan Walmsley
e8cc8ec17f
fix datagrid xmlns attribute.
7 years ago
Nikita Tsukanov
d52afe7a96
Fixed Avalonia.Diagnostics
7 years ago
José Pedro
8562270c66
Fixed type name in XML comment.
7 years ago
Nikita Tsukanov
dbf6c3a148
Entire control catalog is now loaded from precompiled xaml
7 years ago
Nikita Tsukanov
ea0c26045f
Updated compiler to the recent master
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
920f91f321
Move DataGrid theme to Themes directory.
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
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
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