WPF-How to get Tooltip when hovering over disabled element
By setting ShowDisabled attached property of tooltip class to true we can get tooltip when hovered over disabled element
In XAML:
<Button Height="23" ToolTipService.ShowOnDisabled="True"/>
From Code Behind in C#:
ToolTipService.SetShowOnDisabled(DemoButton, true);
Subscribe to:
Post Comments (Atom)
Open default email app in .NET MAUI
Sample Code: if (Email.Default.IsComposeSupported) { string subject = "Hello!"; string body = "Excellent!"; ...
-
Label tb = new Label (); tb.Name = "LabelID" + iRow; tb.Content = lblName; Grid .SetColumn(tb, iCol); Grid .SetRow(tb,...
-
HttpClient is a .NET class that an app can use to send HTTP requests and receive HTTP responses from a REST web service. The resources that...
-
Grid is a layout panel that consists of rows and columns. Example 1: < Grid > < Grid.RowDefinitions > < Row...
No comments:
Post a Comment