Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How you get a ToolTip over a disabled element in WPF?



How you get a ToolTip over a disabled element in WPF?..

Answer / Priti Paliwal

To display a ToolTip on a disabled element in WPF, you can use the PlacementTarget property of the ToolTip to specify the tooltip should be associated with the parent container:

```xaml
<Button IsEnabled="False" ToolTipService.ToolTip="My ToolTip">
<TextBlock Text="Click Me"/>
</Button>
<ToolTip Service.PlacementTarget="{RelativeSource FindAncestor, AncestorType=StackPanel}" Content="My ToolTip"/>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WPF Interview Questions

List some common localization or globalization practices for localizing or globalizing wpf?

1 Answers  


Is visual studio written in wpf?

1 Answers  


What are the two types of transforms present on frameworkelement?

1 Answers  


How can you set a property attribute as a literal string and not a mark up extension?

1 Answers  


Is wpf an mvc?

1 Answers  


Can you explain self relative source binding in wpf?

1 Answers  


Can Windows Service be created Using WPF?

1 Answers  


Name the common assemblies used in WPF?

1 Answers  


Where does the execution start in a WPF application?

1 Answers  


Write about usercontrol in brief?

1 Answers  


What are the types of bitmap effects?

1 Answers  


What is the use of system.windows.media namespace?

1 Answers  


Categories