WPF禁用子元素中的工具提示

时间:2012-12-26 16:10:18

标签: wpf grid visibility tooltip

请帮帮我 - 如何禁用Grid中子元素的工具提示?

<Grid x:Name="root">
    <Border HorizontalAlignment="Right"
            VerticalAlignment="Top"
            Margin="0,0,52,0">

        <Popup Placement="Bottom">
               <StateButton x:Name="FullScreenButton"
                                    Command="{Binding Path=FullScreenCommand}"
                                    wpfutil:CustomToolTipService.Content="Exit full screen (Esc)"
                                    ToolTip="{CustomToolTipExtension}"/>
        </Popup>
    </Border>

    <Border     HorizontalAlignment="Center"
                VerticalAlignment="Bottom">

        <Popup Placement="Bottom">
                <Border x:Name="OverlayControlHolder"
                        SnapsToDevicePixels="True"/>
        </Popup>
    </Border>
</Grid>

我需要在主网格上绑定IsEnabled工具提示属性。 我该怎么办? 提前致谢

0 个答案:

没有答案