Dan Walmsley
d3e66eac58
Fix null check around adding Container.Child to logical children.
10 years ago
Dan Walmsley
0b3db9af23
Remove allocation of list that is not neccesary
10 years ago
Dan Walmsley
67a99dc09a
No longer type checking as not necessary.
10 years ago
Dan Walmsley
225148fd04
Removed unused using.
10 years ago
Dan Walmsley
2004bdb329
more whitespace changes.
10 years ago
Dan Walmsley
525d1369a5
Removed casting that was not needed.
10 years ago
Dan Walmsley
28ddbb2159
Removed whitespace.
10 years ago
Dan Walmsley
8a3acecf25
Removed comments
10 years ago
Dan Walmsley
bcc6cc196c
Set TemplatedParentProperty null before calling update child
so it doesnt end up seting the ItemsControls parent as the container.childs parent.
Preventing it being removed from logical tree.
10 years ago
Dan Walmsley
d398766c57
remove excessive null check, is also serves for null check.
10 years ago
Dan Walmsley
dac0da2cac
Corrected logic for materialize methods.
10 years ago
Dan Walmsley
59fd92dcfb
Null check in ItemsControl on Materialized and Dematerialized, to prevent
exceptions being thrown, trying to do is check on null.
10 years ago
Dan Walmsley
03afec5596
fix bug checking wrong property for is ILogical
10 years ago
Dan Walmsley
3af1cff1ca
Fix ItemsControl preventing DataTemplates getting applied.
10 years ago
Dan Walmsley
59d499fee4
ItemsControl ensure Containers Templated parent is null.
10 years ago
Dan Walmsley
5a43816db5
whitespace
10 years ago
Dan Walmsley
cf13ae3425
removed excessive casting.
10 years ago
Dan Walmsley
261b63dd4c
fix whitespace
10 years ago
Dan Walmsley
ba89e646c4
ItemsControl uses the ContainerType property to check if its a typed container.
10 years ago
Dan Walmsley
c5c09275b5
Items control removes the logical child correctly.
10 years ago
Dan Walmsley
2c3c73edac
Items control adds the content presenters child as its logical child.
10 years ago
danwalmsley
759a8a845d
initial attempt to set logical children correctly.
10 years ago
Steven Kirk
922b0c5cd7
Don't clear ItemContainerGenerator on template change.
Can't remember why this was there but it was wrong anway - it wasn't
actually removing the items from the presenter panel. Doesn't seem to
break any unit tests so hope for the best...
10 years ago
danwalmsley
b724ddd092
Removed casting to IEnumerable<object>
10 years ago
Steven Kirk
2c8d8179e5
Fix virtualized item selection.
So that recycled items' selection state is set correctly.
10 years ago
Steven Kirk
38afaf1aca
More WIP on adding virtualization to ItemsPresenter.
10 years ago
Steven Kirk
5cd9b98057
Added ItemsControl.ItemTemplate property.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
2cfa50e211
Merged itemspresenter-base branch.
10 years ago
Steven Kirk
a72c3e46bf
Moved ILogical to Perspex.LogicalTree.
10 years ago
Steven Kirk
d25e057ccc
More WIP refactoring properties.
Compiles now but lots of tests failing.
10 years ago
Steven Kirk
7adc902b99
Handle null content in TabControl.
10 years ago
Steven Kirk
c810f95904
Don't ApplyTemplate on nested templated controls...
...during ApplyTemplate. This was so that ItemsControls could their find
ItemsPresenters nested in other templated controls. Instead use
IItemsPresenterHost to make the presenter register itself with its
TemplatedParent.
11 years ago
Steven Kirk
44408cfc5c
ItemContainerGenerator can be null.
11 years ago
Steven Kirk
db1e20acc8
Only allow pseudoclasses to be set by control.
Limit adding/removing pseudoclasses to IPseudoClasses interface.
11 years ago
Steven Kirk
a6b74db847
Merge branch 'logical-tree' into leaks
11 years ago
Steven Kirk
2bcaef3c7e
Fixed failing TreeView tests.
11 years ago
Steven Kirk
4fa3c98ca3
Detach styles when control removed from visual tree.
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
71cd3d965b
More work on XAML control theme.
11 years ago
Steven Kirk
1b17b037cf
Use ContentAttribute to identify content property.
11 years ago
Steven Kirk
0703851e02
Remove debug code.
11 years ago
Steven Kirk
cbfbc52803
Use direct PPs for SelectedIndex/Items.
11 years ago
Steven Kirk
f12e25c5c8
Fix ItemsControl unsubscription.
11 years ago
Steven Kirk
5c4d2b84a3
Started converting PPs to direct PPs.
11 years ago
Steven Kirk
338a1c0d91
Added ItemsControl.MemberSelector
And use it to select the TabItem.Content property for the Deck in a
TabControl.
11 years ago
Steven Kirk
b3af361686
Still trying to get property dependencies working.
SelectedIndex isn't being set.
11 years ago
Nikita Tsukanov
dbeb0344f8
static readonly rename
11 years ago
Nikita Tsukanov
21a3554260
Change property getter to expression properties
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago