Logo
Explore Help
Register Sign In
Mirrors/PowerToys
1
0
Fork 0
You've already forked PowerToys
mirror of https://github.com/microsoft/PowerToys.git synced 2026-04-07 11:46:30 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
92a2b83bc809960102c881977e8b8c9b1692c699
PowerToys/src/modules/launcher/Wox.Plugin/ToolTipData.cs

22 lines
471 B
C#
Raw Normal View History

Tooltip for indexer and program plugin (#4589) * Fix multiline title issue * Added code to display tooltip for program and indexer plugin * Added tests for Result class * Theme based color for tooltip * Added colors for tooltip * Added string tags to tooltip * Add initial show delay * Seperated textbox for title and path
2020-07-07 13:02:39 -07:00
using System;
namespace Wox.Plugin
{
public class ToolTipData
{
public string Title { get; private set; }
public string Text { get; private set; }
public ToolTipData(string title, string text)
Dev/crutkas/fixing warnings (#5161) * new lines & braces * Tabs /space auto fix Co-authored-by: Clint Rutkas <crutkas@microsoft.com>
2020-07-22 13:27:17 -07:00
{
if (string.IsNullOrEmpty(title))
Tooltip for indexer and program plugin (#4589) * Fix multiline title issue * Added code to display tooltip for program and indexer plugin * Added tests for Result class * Theme based color for tooltip * Added colors for tooltip * Added string tags to tooltip * Add initial show delay * Seperated textbox for title and path
2020-07-07 13:02:39 -07:00
{
throw new ArgumentException("title cannot be null or empty", "title");
}
Title = title;
Text = text;
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 38ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API