Max Katz
d083acc20d
Implement support of NthChild in DataGrid
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Max Katz
f276c4ed8b
Changes after review
5 years ago
Max Katz
e5ca5c38e8
Update IChildIndexProvider interface with ChildIndexChanged and implement in on items controls
5 years ago
Max Katz
69fb1c056f
FIrst version of nth-child
5 years ago
Steven Kirk
ce3c8316b5
Don't invalidate ItemsRepeater measure on children change.
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
Steven Kirk
bc5a101faf
Render changes to child order/zindex.
Fixes #2714 .
7 years ago
mstr2
132158baa6
Panel no longer overrides the default value of the ClipToBounds property.
8 years ago
Steven Kirk
ac0c9e69cd
Added IAffectsRender interface...
...and use it as a general-purpose means of attaching to property values that can affect render.
8 years ago
Steven Kirk
a5a5b36ddc
Invalidate controls when brush changed.
8 years ago
Steven Kirk
a6a80c205c
Make attached panel properties invalidate parent layout.
Fixes #1865 .
8 years ago
Steven Kirk
04c489daa5
Make Collection Properties get-only
Fixes #1302 .
9 years ago
Steven Kirk
fc7a83ee72
Fixed panel collection change actions.
As suggested in #1286
9 years ago
donandren
60ff3b8e4a
fixed bug in panel controls when they are set with the same collection instance
9 years ago
Steven Kirk
b91d8781d8
WIP
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
a40f0be1d9
Make SolidColorBrush properly immutable.
Previous its color was immutable but because it inherited from Brush, its Opacity was mutable. This wasn't good, as it meant that e.g. Brushes.Red could be changed. Make it properly immutable by using the IBrush interface everywhere and not inheriting from Brush.
10 years ago
Steven Kirk
eaecc0c89e
Removed unused field.
10 years ago
Steven Kirk
a72c3e46bf
Moved ILogical to Perspex.LogicalTree.
10 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
10 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
11 years ago
Steven Kirk
1b17b037cf
Use ContentAttribute to identify content property.
11 years ago
Nikita Tsukanov
3fc62506df
Introduced DrawingContext class responsible for matrix transformation and push/pop order validation
11 years ago
Steven Kirk
d9ca9c2624
Override ClipToBounds on correct control.
11 years ago
Steven Kirk
991b7058af
Clip Panel content to bounds.
11 years ago
Steven Kirk
94884821ff
Fixed another typo.
Closes #222 for reals.
11 years ago
Amer Koleci
7d2136a2a2
Add Panel background brush support. #142
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
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
84924dee3c
Added IPanel interface.
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
4e5cee4378
Don't add Panel Logical children twice!
11 years ago
Steven Kirk
5303eb7cd8
Make all tests pass again.
Menus displaying weirdly though.
11 years ago
Steven Kirk
38e85a3f36
Started reworking reparenting controls.
11 years ago
Steven Kirk
eabf674027
Move more stuff from Control to IControl.
To do this, added the PropertyBag interfaces from ideas branch.
11 years ago
Steven Kirk
9a9132c42b
Manipulate logical parent thru ISetLogicalParent.
Ported from ideas branch. Also includes beginnings of INameScope
support, though nothing implements this interface yet.
11 years ago
Steven Kirk
4fc7d00cb4
Documented Panel.
11 years ago
Steven Kirk
fef04a5f5d
Implemented Menus a bit better.
Now appear correctly in logical tree and use general-purpose mechanisms
rather than direct communication between MenuItems.
11 years ago
Steven Kirk
fcb746a1c4
Initial implementation of adorners.
Adorn elements when moused over in DevTools. Still a fair few things
missing including:
- Need to track position of adorned elements and move the adorner if
they move.
- Adorner is shown beneath AdornerDecorator contents. Need to implement
Z-index to allow it to be shown above.
11 years ago
Steven Kirk
8bfddb64a8
Set logical parent before visual parent in Panel.
Otherwise the Descendent styling selector won't find the control.
11 years ago
Steven Kirk
f013760ce5
Use consistent naming in base collections.
11 years ago
Steven Kirk
df08657e71
Tidied up ItemsControl logical parenting a bit.
11 years ago
Steven Kirk
fc5ff22d8e
Search logical tree for DataTemplates.
11 years ago
Steven Kirk
f5a856e109
Make ItemsControl items be logical children.
12 years ago
Steven Kirk
336e1c4ae2
Implemented ILogical.
12 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
12 years ago
Steven Kirk
6205545bc5
Make stuff get measured properly.
And added some logging to Layoutable to help diagnose this.
12 years ago