zoukankan      html  css  js  c++  java
  • Silverlight中消除ToolTip的白色背景

    Silverlight中消除ToolTip的白色背景,其实就是把ControlTemplate中的Border去掉了
    <Style TargetType="ToolTip" x:Key="tooltipStyle">
                    <Setter Property="Background" Value="Transparent"/>
                    <Setter Property="Padding" Value="3,0,3,0"/>
                    <Setter Property="BorderThickness" Value="1"/>
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="ToolTip">
                                
                                        <ContentPresenter
                                  Content="{TemplateBinding Content}"
                                  ContentTemplate="{TemplateBinding ContentTemplate}"
                                  Cursor="{TemplateBinding Cursor}"
                                  Margin="{TemplateBinding Padding}"/>
                                   
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>

  • 相关阅读:
    行转列函数listagg() WITHIN GROUP ()
    位图索引
    windows 杀掉进程
    vue 实践(过滤器)
    vue 总结
    vue v-show v-if 的使用
    vue v-for 绑定数据
    vue v-model实现数据的双向绑定
    vue .stop .self .capture .prevent 阻止冒泡
    vue v-on v-text 的运用
  • 原文地址:https://www.cnblogs.com/malingbo/p/2217800.html
Copyright © 2011-2022 走看看