Steven Kirk
51a376f3e2
Register ToolTip attached properties correctly.
Was previously registering them with `Popup` as the owner, which was causing two properties with the same name to get registered, confusing XAML.
We should probably put in a check to make sure this doesn't happen, but this fixes the problem for now.
Fixes #1573
8 years ago
Eli Arbel
426cd8c9dd
ToolTip: IsOpen, Placement, Offset
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
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
82483d7dec
Fix exception in ToolTip.
Make sure old `ToolTip` is disposed before showing a new one.
9 years ago
Nikita Tsukanov
77b7026ac9
Removed IMouseDevice from service locator
9 years ago
Steven Kirk
9094de563e
Fix the TextBox error ToolTip.
Create a new popup window for each ToolTip as sharing one was causing
problems when ToolTip was included in a control template.
10 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
11 years ago
Steven Kirk
6e1a56ea4c
Don't display tooltip for hidden control.
If a control was hidden or removed between the time that the tooltip
timer starts and the popup is shown, don't display the tooltip. Fixes
#465 .
11 years ago
Steven Kirk
92452afc6f
Added ToolTip to ControlCatalog.
11 years ago
Steven Kirk
1202eaa876
Updated PerspexProperties to new classes
i.e. AttachedProperty, DirectProperty or StyledProperty.
11 years ago
Nikita Tsukanov
84af63ce1e
Added Position property, moved Hide/Show to ITopLevelImpl
11 years ago
Steven Kirk
67835cc09b
Applied a bunch of resharper suggestions.
11 years ago
Nikita Tsukanov
3cd3579475
"field can be readonly"
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
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
731b517d96
More documentation.
11 years ago
Steven Kirk
7435166436
Added more documentation.
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
85dfbbb6d5
Moved Popup to Primitives namespace.
11 years ago
Nelson Carrillo
6ea6afe81d
Fixing popup placement
11 years ago
Steven Kirk
f42e89a8a6
Make tooltips show more than once.
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
af7d46e89e
Documented ToolTip.
12 years ago
Steven Kirk
1662cb6548
Don't show tooltip when mouse has left control.
12 years ago
Steven Kirk
1d8f4714ff
Added basic tooltip control.
Can be attached to any control using an attached property.
12 years ago