سلام بر برنامه نویسان عزیز 😉 در این پست کد قرار دادن ToolTip برای تکست باکس با TextBox.ToolTip با wpf و سی شارپ #C را آماده کردم. انشاالله که این کد براتون مفید باشه.
خروجی این کد:
کد قرار دادن ToolTip برای تکست باکس با TextBox.ToolTip با wpf و سی شارپ #C :
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBox Width="100">
<TextBox.ToolTip>
<ToolTip Content="Type something here" />
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBox Width="100">
<TextBox.ToolTip>
<ToolTip Content="Type something here" />