Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Giuseppe Lippolis
9e1ff3e3be
fix: Addreaa review
4 years ago
Giuseppe Lippolis
ee84a8c7fd
feat(Controls): Address rule CA1822
4 years ago
robloo
8a0903f616
Rename PointerEnter to PointerEntered
4 years ago
Steven Kirk
553c4bc114
Read scaling when starting a drag operation.
Previous implementation didn't update the scaling when moving between monitors.
4 years ago
Steven Kirk
49ee55fca4
Make GridSplitter scaling aware.
When comparing sizes in `GridSplitter.MoveSplitter`, account for `UseLayoutRounding` and DPI scaling by using an epsilon that is the size of a device pixel.
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Dariusz Komosinski
3ac615c4e3
Make GritSplitter calculations match the ones in WPF.
5 years ago
Dariusz Komosiński
ee383659e2
Restore missing DPI correction for GridSplitter behavior.
5 years ago
Steven Kirk
3a914c282b
Don't declare property fields AvaloniaProperty<>.
Instead use `StyledProperty<>`.
7 years ago
Dariusz Komosinski
6dd6f336da
Restore original delta constraints algorithm.
7 years ago
Dariusz Komosinski
b315d5024f
Move enums lower. Add workaround for thumb raising multiple started events.
7 years ago
Dariusz Komosinski
bf04d22856
Comment fixes.
7 years ago
Dariusz Komosinski
00263f71e4
Port GridSplitter from WPF.
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Jumar Macato
d1da8df74b
Restore removed GridSplitter code.
7 years ago
Jumar Macato
9c6c096ea9
Organize Grid into its own folder and split up its internal classes.
7 years ago
Wojciech Krysiak
a33f5cb4dd
Some unit tests, bugfixes and refactorings.
8 years ago
wojciech krysiak
49fda72568
Some more changes + GridSplitter Fix
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Denis
d03662a373
Not throw exception in last or first position.
10 years ago
susloparov
2e813c867d
Removed Orientation Property from GridSplitter
It's possible to unambiguously detect orientation based on
Column/RowDefenitions or other elements.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Wiesław Šoltés
37de675f5a
Added PseudoClass for OrientationProperty
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
7ab944c0a5
Make GridSplitter.Orientation non-nullable.
As OmniXAML can't handle it.
11 years ago
susloparov
ccf59b8690
GridSplitterTests
11 years ago
susloparov
bd4acc6e5e
Merged GridSplitter related classes into one.
11 years ago
susloparov
7070ad51ed
Merged Horizontal and Vertical Grid splitter back into single class
11 years ago
susloparov
981ec53d07
Seperated GridSplitter into HorizontalGridSplitter and VerticalGridSplitter
11 years ago
susloparov
ef06e79667
First grid splitter implementation
11 years ago
Steven Kirk
16c2242757
Implemented NameScopes
Some tests still failing as controls are only registered with name scope
when attached to a rooted visual tree. Need to work around this by
explicitly registering controls when applying template.
11 years ago
Steven Kirk
f416a98fa6
Correctly handle negative mouse positions.
When mouse is captured, the position held in lParam can be negative.
This wasn't being handled. Fixes #281 .
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
d920814ffd
Set cursor for GridSplitter.
11 years ago
Steven Kirk
6167bacf54
Moved to more standard filesystem layout.
Based on https://gist.github.com/davidfowl/ed7564297c61fe9ab814 and https://github.com/fsprojects/ProjectScaffold
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
65def11dbd
Remove obsolete OnVisualParentChanged.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
12 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
12 years ago
Steven Kirk
f361fe23ce
Implemented basic GridSplitter for DevTools.
12 years ago