Steven Kirk
48a33cc415
Handle null in MarkupBindingChainException
9 years ago
Steven Kirk
8f21388e28
Added RelativeSource=Self binding mode.
9 years ago
Steven Kirk
7cf208208b
Don't show TextBox caret when control not focused.
Fixes #836 .
9 years ago
Steven Kirk
90f4cfbea3
Register namescoped controls with parent namescope.
If we have e.g. a named UserControl in a window then we want that
control to be findable by name from the Window, so register with both
name scopes. This differs from WPF's behavior in that XAML manually
registers controls with name scopes based on the XAML file in which the
name attribute appears, but we're trying to avoid XAML magic in Avalonia
in order to made code-created UIs easy. This will cause problems if a
UserControl declares a name in its XAML and that control is included
multiple times in a parent control
(as the name will be duplicated), however at the moment I'm fine with
saying "don't do that".
Fixes #829 .
9 years ago
Steven Kirk
5e84430868
Don't focus Win32 window in design mode.
Fixes #837 .
9 years ago
Steven Kirk
49757372a9
Fix for #834 .
Listen for bounds changes on the `VirtualizingPanel` and update the
scroll accordingly.
9 years ago
Steven Kirk
f63a64e11b
Remove pointless code.
9 years ago
Steven Kirk
f73a10b593
Clear ContentPresenter data context.
When assigning a control to `ContentPresenter.Content` after a
non-control the data context should get cleared. Fixes another problem
in #831 .
9 years ago
Steven Kirk
f4f0597dca
Update next node in binding chain on error.
Fixes #831 and makes `Pushing_Null_To_RootObservable_Updates_Leaf_Node`
test pass.
9 years ago
Steven Kirk
a0a201006f
Merge overridden direct property metadata.
9 years ago
José Manuel Nieto Sánchez
934cc3bafd
Environment.CurrentDirectory is modified after call to GetOpenFileName | GetSaveFileName call.
9 years ago
danwalmsley
16217119e7
GridSplitter no longer has an orientation property.
10 years ago
Jeremy Koritzinsky
b038ed55ee
Add ability to set the value pointed to by an indexer node.
10 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
Dan Walmsley
3e5d0e69b0
fix indentation.
10 years ago
Dan Walmsley
1ab0a87780
fix comments.
10 years ago
Dan Walmsley
43cac2c562
Renamed property to CoverTaskbarWhenMaximized.
10 years ago
Dan Walmsley
4c4342e2dd
refactored to seperate method.
10 years ago
Dan Walmsley
198f18df66
Fix indentation.
10 years ago
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
5b54116507
Add missing inheritdoc comment.
10 years ago
Dan Walmsley
dec5682dce
Completed Andriod IWindowImpl
10 years ago
Dan Walmsley
07b06aa148
Completed Ios AvaloniaView implementation.
10 years ago
Dan Walmsley
4b33c02008
Completed Gtk Window implementation.
10 years ago
Dan Walmsley
1efbb9823b
Fix Win32 WindowImplement to allow it to restore window size when
SystemDecorations=false and IgnoreTaskBarWhenMaximized=false
10 years ago
Dan Walmsley
5cd8d3cfe7
Corrected default value for IgnoreTaskBarOnMaximizeProperty
10 years ago
Dan Walmsley
96c2f947d7
Implemented SetIgnoreTaskBarWhenMaxmimized for Win32
10 years ago
Dan Walmsley
ae40a3fa56
Add IgnoreTaskbarWhenMaximized property to IWindowImpl
10 years ago
Dan Walmsley
49f2d7b477
WindowImpl on Win32 when no system decorations will not cover taskbar.
10 years ago
Dan Walmsley
dff4fefa5d
Add Win32 Methods to allow getting of MonitorInfo
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
4a17d2d32f
ContainerType property implementations using improved syntax.
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