views:

33

answers:

1

Im trying to add a tooltip to a checkbox in XAML, however all i get is errors:

        <ToolTipService.ToolTip>
          <ToolTip x:Name="ToolTipDelete" Content="Delete" />
        </ToolTipService.ToolTip>

Anyone know how I might add this to a checkbox?

Silverlight 2.

+1  A: 

Simple text:

<CheckBox ToolTip="Delete"/>

More control over display:

<CheckBox>
    <CheckBox.ToolTip>
        <TextBlock>Delete</TextBlock>
    </CheckBox.ToolTip>
</CheckBox>
Jerod Houghtelling