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>

  • 相关阅读:
    第一章计算机系统知识
    Java面试宝典摘抄
    Java的容器类Collection和Map
    log4j.properties 详解与配置步骤(转)
    JSTL中的TLD配置和使用。
    (原创)mybatis学习四,利用mybatis自动创建代码
    C#常用方法
    Spring 3.x jar 包详解 与 依赖关系
    spring mvc JSON实现方式
    Structs2配置文件相关说明
  • 原文地址:https://www.cnblogs.com/quietwalk/p/2264428.html
Copyright © 2011-2022 走看看