Luis von der Eltz
a9affd64bf
Add support for Flyouts, ToolTips & ContextMenus
5 years ago
Max Katz
5403c74344
Recalculate ToolTip position on Offset/Placement props changed
6 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
6 years ago
Dan Walmsley
3c369153c2
update tooltip content when already opened and tip changes.
6 years ago
Dan Walmsley
49e41b9594
prevent tooltipgetting stuck.
6 years ago
Max Katz
1fa96f049c
Implement ToolTip :open pseudo class
6 years ago
Max Katz
9237a398e9
Make ToolTip background transparent using IPopupImpl
6 years ago
aguahombre
f8a95fa2a1
Fix tooltip memory leak
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.
7 years ago
Nikita Tsukanov
07ed194c9d
Review comments
7 years ago
Nikita Tsukanov
1c111aef6c
watwut
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Nikita Tsukanov
9343ba4c23
Wired up the popup positioner
Tests are failing because they are trying create popups out of a thin air
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Steven Kirk
b5fac96d70
Fixed whitespace nit.
8 years ago
Steven Kirk
4ec2b1c554
Use PixelPoint and PixelRect for device points/rects.
The affected members are:
- `IWindowBaseImpl.Position`
- `IWindowBaseImpl.PositionChanged`
- `ITopLevelImpl.PointToClient`
- `ITopLevelImpl.PointToScreen`
- `IMouseDevice.Position`
- `Screen.Bounds`
- `Screen.WorkingArea`
8 years ago
Miha Markič
1524cb1aba
Spellchecks comments and members, removes unused using statements and sorts them
8 years ago
Dan Walmsley
c29a21afc2
ensure tooltips fit inside screen edges.
8 years ago
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
10 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.
11 years ago
Steven Kirk
1662cb6548
Don't show tooltip when mouse has left control.
11 years ago
Steven Kirk
1d8f4714ff
Added basic tooltip control.
Can be attached to any control using an attached property.
11 years ago