WPF FrameworkElement control - Add new DisabledTooltip and EnabledTooltip properties
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/WPF-FrameworkElement-control---Add-new-D/10120804)._
---
WPF has a FrameworkElement control. Button is one of the controls that inherits from it, but I think it would be better to have this change on the FrameworkElement parent.
**Requested New Properties** - Would love to have DisabledTooltip and EnabledTooltip properties added. If Tooltip is blank then use DisabledTooltip or EnabledTooltip depending on the current state. I would suggest protecting against showing hidden or collapsed buttons.
**Reason:** Often I need the ToolTip to show reasons why the button is disabled or tell the user how to get the data in a state for this to become enabled. Often I need ToolTip to tell the user what the enabled button does which is often a different message.
**Impact** - None, since we are adding 2 new properties and not changing the existing interface of the controls.
---
### Original Comments
#### Feedback Bot on 8/16/2022, 02:46 PM:
(private comment, text removed)
Contributor guide
Assessment
This issue has not been assessed yet.