zoukankan      html  css  js  c++  java
  • ToolTip

    ToolTip for Button

          <Button>

                OK

                <Button.ToolTip>

                    Clicking this will submit your request.

                </Button.ToolTip>

            </Button>

    ToolTip for CheckBox

       <CheckBox>

                CheckBox

                <CheckBox.ToolTip>

                    <StackPanel>

                        <Label FontWeight="Bold" Background="Blue" Foreground="White">

                        </Label>

                        <TextBlock Padding="10" TextWrapping="WrapWithOverflow" Width="200">

                                CheckBox is a familiar control.But in WPF,it's not much more than a ToggleButton style differently!

                          </TextBlock>

                        <Line Stroke="Black" StrokeThickness="1" X2="200" />

                        <StackPanel Orientation="Horizontal">

                            <Label FontWeight="Bold">

                                Press F1 for more help.

                            </Label>

                        </StackPanel>

                     </StackPanel>

                </CheckBox.ToolTip>

            </CheckBox>

  • 相关阅读:
    基础表达式和运算符
    原型链(_proto_) 与原型(prototype) 有啥关系?
    插件模板
    加减plugin
    原生选项卡、手风琴
    前端基础问题(有答案)
    结构图
    Java环境配置小记
    函数
    砝码称重
  • 原文地址:https://www.cnblogs.com/quietwalk/p/2264428.html
Copyright © 2011-2022 走看看