I need to generate the infobulle for a button in Silverlight with C#. I have this code :
<Button x:Name="ctr" Content="Contrôler" Foreground="White" Margin="10 0" Click="ctr_Click"
<ToolTipService.ToolTip>
<ToolTip>
<Grid>
<TextBlock Text="Contrôler">
</Grid>
</ToolTip>
</ToolTipService.ToolTip>
</Button>
but I need the change the infobulle in C# like this
if (message =="OK") infobulle-->controle the page else infobulle-->controle