Steven Kirk
d2eca3968b
Removed IRendererFactory.
Make the `ITopLevelImpl` create the renderer instead.
9 years ago
Nikita Tsukanov
6b91850579
Switched to netstandard1.3
9 years ago
Dan Walmsley
c37dd6cda9
null check on hide caret.
9 years ago
Dan Walmsley
2638f02cd6
fix null reference when focusing textbox in attached to visual tree,
but before ontemplate applied.
9 years ago
Dan Walmsley
e3992ef4ad
fix context menu not closing when an item is clicked.
9 years ago
Steven Kirk
6c96f69061
Only show tooltip when pointer still over control.
Make sure the pointer is still over the control when the timer fires to show a tooltip.
9 years ago
Steven Kirk
33fd46c789
Quick and dirty hack to fix #1054
This fixes the problem decribed in #1054 but I think there's something wrong with the way we handle top level layout anyway and it's going to need refactoring soon.
(cherry picked from commit 7337a90fc1 )
9 years ago
Steven Kirk
c4aa2197b2
Fixed TreeView navigation.
Fixes #277 .
9 years ago
Steven Kirk
3bee9e5557
Only respond to left click in Button.
Fixes #854 .
9 years ago
Steven Kirk
075cd4b9a4
Ensure menu gets closed.
If there's a `Command` binding for a `MenuItem` it will now swallow the `Click` event, meaning that the menu won't get closed. Listen for handled events too.
9 years ago
Steven Kirk
85e40b9c0b
Set e.Handled on command execution.
Otherwise the `Click` event bubbles upwards causing #566 .
Fixes #566
9 years ago
Steven Kirk
a232b137b5
Allow reuse of existing tooltip popup.
To do this, had to fix a problem where templated children weren't notified of being re-attached to a logical tree.
9 years ago
Steven Kirk
0d492ca16a
Update ContentPresenter when ContentTemplate changed.
9 years ago
Steven Kirk
1150af791c
Reworked how ContentPresenter child is updated.
Update immediately when attached to a logical tree. Also separate tests for different scenarios.
9 years ago
Steven Kirk
82483d7dec
Fix exception in ToolTip.
Make sure old `ToolTip` is disposed before showing a new one.
9 years ago
Steven Kirk
daf59b8497
Start/stop the renderer on window show/hide.
9 years ago
Nikita Tsukanov
df13ab2ecb
[TEMP] Call measure directly
9 years ago
Nikita Tsukanov
67ff5ba53c
Initial implementation of Proper WPF embedding™
9 years ago
Nikita Tsukanov
85350b27b2
Fix for Popup
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Steven Kirk
4d30de7c09
Only click when pointer is over the button.
Previously a button click was carried out when `:pointerover` was set, but because the button captures mouse input on mouse down, this is always true while the mouse is held. Check that the pointer was released within the bounds of the control.
Fixes #938
9 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
11a01001ce
Fix possible null reference exceptions.
9 years ago
Steven Kirk
5a819c1c87
Make Window.OpenWindows readonly
And hack around the fact that it's static in unit tests.
9 years ago
Steven Kirk
a7ff93450e
Fixed problems with Windows.OpenWindows.
- Showing a window was causing it to be added to the collection twice because `Show()` called `IsVisible = true` which called `Show()`
- The window wasn't getting removed when the `PlatformImpl` signalled it was closed
9 years ago
Nikita Tsukanov
b18a103834
PR notes
9 years ago
Nikita Tsukanov
0b756d0b8a
More null checks
9 years ago
Nikita Tsukanov
e883107ca3
Make PlatformImpl nullable and always check for null value
9 years ago
Steven Kirk
4fa6c1e7f4
Fixed invalid doc references.
9 years ago
Connor Laderer
0a65816ae1
Corrected where statement because if its provided, it doesn't need a parameterless constructor
9 years ago
Connor Laderer
4ecca2bb53
Added overload of Start for AppBuilderBase
This will allow for easy use of Dependency Injection with Microsoft.Extensions.DependencyInjection the mainWindow can resolve any constructor objects it may have.
9 years ago
Steven Kirk
96f316eca6
Removed some small diffs from master.
9 years ago
Steven Kirk
f678683472
Handle inserts before currently visible item.
If a virtualized list was scrolled and an item added before the first
visible item, then the list wasn't updated.
9 years ago
Nikita Tsukanov
7a66752f2e
Make CreateRenderTarget virtual
9 years ago
Nikita Tsukanov
012451a4db
Direct3D interop sample
9 years ago
Steven Kirk
3082bda498
Pass resized message to renderer.
9 years ago
Steven Kirk
1b9d61416f
Ported ImmediateRenderer from scenegraph branch.
9 years ago
Steven Kirk
e6cb529878
Ported immutable media impls from scenegraph.
The deferred renderer requires immutable objects for drawing as it
renders on a separate thread.
9 years ago
Wiesław Šoltés
0e6f48e8a0
Use different FromEventPattern method
Fixes #946
9 years ago
Wiesław Šoltés
a26c261aad
Fixed OnPointerReleased parameter type
9 years ago
Steven Kirk
376535b198
Make IFormattedTextImpl immutable.
Previously `IFormattedTextImpl` had `SetForegroundBrush` which set
mutable state. Make `FormattedText` fully mutable (before it was kinda
mutable, kinda immutable) and create immutable `IFormattedTextImpl`s on
demand.
9 years ago
Steven Kirk
b7c83e77dd
Remove IsVisible changes from Window/Popup.
These were from a previous attempt to do what #935 does.
9 years ago
Steven Kirk
e9968a7606
Make WindowBase.IsVisible show/hide window.
9 years ago
Steven Kirk
4e719262c4
Make WindowBase.IsVisible return correct value.
`WindowBase.IsVisible` now tracks the visibility of the window. Still
needs to call `Show` and `Hide` when changed.
9 years ago
Wiesław Šoltés
f8097cc27d
Added msbuild props for package references
9 years ago
Steven Kirk
8e6b6258ed
Fix re-enabling windows when dialog is closed.
9 years ago
Steven Kirk
96d9cfa2fc
Use the default compile items in core libs.
Now we're using the new project system, we don't have to have a
`<Compile Include="..."/>` element for each file.
9 years ago
Nikita Tsukanov
6cf037ad7c
One liners
9 years ago
Nikita Tsukanov
66ac05b2c2
Removed <Name> elements from new projects
9 years ago
Nikita Tsukanov
d1caaaca3e
Removed <Project>
9 years ago