Tim U
2941c3f635
Rename BubbleUpScrollOnEndReached to IsScrollChainingEnabled
4 years ago
Tim
c7560588fb
use `ScrollViewer.GetBubbleUpScrollOnEndReached` in `DataGrid`
DataGrid handles the scrolling by it's own and not via ScrollViewer, so we need handle it there as well.
4 years ago
Foaltin Dorin
ae48a9a13b
Fix DataGrid selection broken after 3 right clicks
4 years ago
Max Katz
1a8ec1ce0e
Fix DataGrid headers horizontal scrolling
5 years ago
Giuseppe Lippolis
7a8650ae06
fixes(Datagrid): Avoid using Threading.Dispatcher.UIThread.Post(
5 years ago
Giuseppe Lippolis
68370e37a5
fixes(DataGrid): Issue #6508 does not re-enter the edit mode after pressing ESC
5 years ago
0x90d
8526d98d28
Fix datagrid right click selection
5 years ago
Max Katz
98a4364810
Handle horizontal wheel scrolling in DataGrid
5 years ago
Max Katz
c285a0e6a8
Fix DataGrid wheel scroll calculation
5 years ago
Miha Markič
97c33f432a
Applies spell checking on mostly comments, but also non public members and arguments
5 years ago
Giuseppe Lippolis
955fb1ffdb
fixes: Warnings CS0169
5 years ago
Deadpikle
e3bfb4f598
DataGrid SelectedIndex & SelectedItem -> TwoWay
Default `DataGrid` `SelectedIndex` and `SelectedItem` binding mode to `TwoWay`.
5 years ago
Collin Alpert
a2b1320baf
Make DataGrid.SelectAll() public
5 years ago
Roland Soós
b37afa4a3d
clear selected item from CollectionView if null
5 years ago
Anton Ryzhov
2384b07ab8
DataGrid: Extracting error data from DataValidationException #5222
5 years ago
Max Katz
8ae3a9f358
Fix DataGridColumn.DisplayIndex initial value handling
5 years ago
Max Katz
dfe3b55de8
DataGrid :empty-rows and :empty-columns pseudoclasses
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
Maksym Katsydan
6992bd72ce
Add Sorting event and use ListSortDirection instead of bool property
6 years ago
Maksym Katsydan
82bd2c487d
DataGrid: support hideable scrollbars and some another fixes
6 years ago
Maksym Katsydan
60546c68de
DataGrid: implement missed pseudoclasses
6 years ago
Przemysław Onak
8916fda98d
Force recalculation of column width after edit is completed
6 years ago
sdoroff
36147de7d8
fix datagrid row height
6 years ago
Rustam Sayfutdinov
1ce6df7186
Remove duplicate code for MathUtilities
6 years ago
Steven Kirk
234664011c
Fixed typo.
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
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
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
José Pedro
fc9a6d5746
Updated obsolete API usages.
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
Steven Kirk
400e64dc15
Fix formatting.
7 years ago
Dariusz Komosinski
a2c6bc1b7c
Remove usage of AddClassHandler that returns new lambda per invocation.
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
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
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
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
Jumar Macato
fbb77d28a4
Add xmlns definitions, fix references & trim some warnings.
7 years ago
Jumar Macato
2c0936580e
Move DataGrid to a separate assembly and add it to CoreLibraries.props.
7 years ago
Jumar Macato
c7bd359bb3
Fix namespaces, part 2 of N
7 years ago
Jumar Macato
01f2a070cf
DataGrid integration to Avalonia.Controls part 1 of N
7 years ago
Jumar Macato
bb86894aa2
Add CellPointerPressed event + Make avalonia reference nightly-invariant
8 years ago
sdoroff
cfb013bbf7
Alter DataGridColumn to use IControl instead of Control
8 years ago
sdoroff
f24b7da0d3
Fixes scrolling bug in grouped DataGrids
Fixes #5
8 years ago
sdoroff
196001dd35
Added Visual Indicators for Column Reorder
8 years ago
sdoroff
9501271408
Implemented Validation
Uses the binding validation framework to validate cell edits
8 years ago