Hi everybody,
I try to add a Tooltip to a ButtonTool, therefore I use the ButtonTool.Style:
<ig:ButtonTool.Style>
<Style TargetType="ig:ButtonToolControl">
Source={StaticResource SchedulerResources}, FallbackValue='Exit', TargetNullValue='Null'}" />
</Style>
However, this ends in an exception when the window is initialized. The exception says that a read-only property can not be set. When I use a hard-coded value for the tooltip instead of the Binding it works. I need the binding for localization with .resx files.
Can anybody help? Thanks
Cheers, hp
Hi,
This is a limitation of Silverlight - binding in Style setters is not supported.
Hope that helps.
I'm sorry something happend with the formatting of the xaml code...