سلام بر برنامه نویسان عزیز ایران زمین 😉 در این مطلب از وب سایت پروگرم 98 کد ToolTip برای بردر با Border.ToolTip با wpf و سی شارپ #C را آماده کردم. انشاالله که این کد براتون مفید باشه.
تصاویر خروجی نهایی این کد:
کد ToolTip برای بردر با Border.ToolTip با wpf و سی شارپ #C :
<Window x:Class="SimpleStyles.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="SimpleStyles"
Background=''"ToolTip">
<StackPanel>
<Border Margin="8" Background=''"150" Height="50" CornerRadius="2">
<Border.ToolTip>
This is a test tooltip! Woohoo!
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="SimpleStyles"
Background=''"ToolTip">
<StackPanel>
<Border Margin="8" Background=''"150" Height="50" CornerRadius="2">
<Border.ToolTip>
This is a test tooltip! Woohoo!