سلام بر تمامی برنامه نویسان سی شارپ 😉 در این مطلب از وب سایت پروگرم 98 آموزش مقداردهی ToolTipService.InitialShowDelay با wpf و سی شارپ را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
تصویر خروجی این کد:
کد مقداردهی ToolTipService.InitialShowDelay با wpf و سی شارپ :
<Window x:Class="ClassicControls.Tooltips"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Tooltips" Height="321" Width="301" >
<StackPanel Margin="5" ToolTip="StackPanel tooltip">
<Button ToolTip="This is my tooltip" ToolTipService.InitialShowDelay="5000">I have a tooltip</Button>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Tooltips" Height="321" Width="301" >
<StackPanel Margin="5" ToolTip="StackPanel tooltip">
<Button ToolTip="This is my tooltip" ToolTipService.InitialShowDelay="5000">I have a tooltip</Button>