1 00:00:00,570 --> 00:00:01,380 ‫Welcome back. 2 00:00:01,410 --> 00:00:07,290 ‫In this video, I would like to show you something real short and real quick, which is to create a 3 00:00:07,290 --> 00:00:11,100 ‫tooltip or add a tooltip to one of your controls. 4 00:00:12,840 --> 00:00:18,840 ‫Therefore, I create a new WPF project, and in my grid I'm just going to add a button. 5 00:00:19,770 --> 00:00:26,070 ‫And the button has a property called tooltip so that we are tooltip. 6 00:00:26,070 --> 00:00:33,120 ‫And I can simply enter whatever should be written when somebody hovers over the button in order to trigger 7 00:00:33,120 --> 00:00:33,870 ‫this tooltip. 8 00:00:33,870 --> 00:00:37,470 ‫And I'm going to say something like, I'm a tooltip. 9 00:00:39,270 --> 00:00:45,360 ‫I'm useful, something super helpful, useful like that. 10 00:00:45,360 --> 00:00:50,160 ‫And then I can enter a text to the button as well. 11 00:00:50,520 --> 00:00:57,720 ‫Hover for more info and this button should be a little smaller. 12 00:00:57,720 --> 00:01:06,480 ‫So I'm going to give it a width of, let's say, 150 and a height of 100. 13 00:01:07,260 --> 00:01:07,710 ‫All right. 14 00:01:07,710 --> 00:01:09,480 ‫So now let's check it out. 15 00:01:11,580 --> 00:01:12,330 ‫There we are. 16 00:01:12,330 --> 00:01:13,590 ‫And now let's hover. 17 00:01:13,710 --> 00:01:15,570 ‫And you see, I'm a tooltip. 18 00:01:15,570 --> 00:01:16,620 ‫I'm useful. 19 00:01:16,890 --> 00:01:17,460 ‫Great. 20 00:01:17,460 --> 00:01:19,830 ‫So this is how you can use tooltips. 21 00:01:19,830 --> 00:01:22,290 ‫And they work for multiple different controls. 22 00:01:22,290 --> 00:01:27,780 ‫So it's not just for buttons, it's also available for, let's say, a text block. 23 00:01:28,350 --> 00:01:34,290 ‫Let's create a text block here, text block and add a tool tip. 24 00:01:34,290 --> 00:01:39,810 ‫As you can see, I well enter something. 25 00:01:40,170 --> 00:01:46,890 ‫Please enter your age below something like that. 26 00:01:46,890 --> 00:01:47,880 ‫That's a tooltip. 27 00:01:47,880 --> 00:01:57,840 ‫And then the actual text should be something like H so I'm going to get rid of the button from before 28 00:01:58,560 --> 00:01:59,370 ‫like that. 29 00:01:59,580 --> 00:02:06,810 ‫And as you can see now we have this h text block and maybe I should reduce its size as well with 100 30 00:02:06,990 --> 00:02:11,160 ‫height, 100, something like that. 31 00:02:11,370 --> 00:02:12,630 ‫Now let's check it out. 32 00:02:14,590 --> 00:02:15,700 ‫And that we are. 33 00:02:15,730 --> 00:02:16,930 ‫I hover over it. 34 00:02:18,030 --> 00:02:19,710 ‫Please enter your age below. 35 00:02:19,770 --> 00:02:21,750 ‫So, of course, this is a text block. 36 00:02:21,780 --> 00:02:27,960 ‫It doesn't contain any well, we cannot add text to it, but if we had a text box below that, then 37 00:02:27,960 --> 00:02:30,590 ‫we could add the tooltip to the text box as well. 38 00:02:30,600 --> 00:02:37,230 ‫But as you can see, this can be super helpful for the user if something is not completely clear and 39 00:02:37,230 --> 00:02:38,940 ‫you want to add some information. 40 00:02:39,360 --> 00:02:39,690 ‫All right. 41 00:02:39,690 --> 00:02:40,710 ‫So that's tooltips. 42 00:02:40,710 --> 00:02:45,510 ‫And in the next video, we are going to check out radio buttons. 43 00:02:45,510 --> 00:02:46,650 ‫So see you there.