一个WPF的TOOLTIPS的界面效果(清爽)

<Page
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<StackPanel>
    <CheckBox>
    问题:什么情况下母猪会上树?
        <CheckBox.ToolTip>
            <StackPanel>
                <Label FontWeight="Bold" Background="Blue" Foreground="White">答题方法</Label>
                <TextBlock Padding="10" TextWrapping="WrapWithOverflow" Width="200">
                点开下拉箭头,选择答案后再点击“问题:”前方的方框,即可提交!
                </TextBlock>
                <Line Stroke="Black" StrokeThickness="1" X1="200"></Line>
                <StackPanel Orientation="Horizontal">
                    <Image Source="1.png" Margin="2" Width="32" Height="32"/>
                    <Label FontWeight="Bold">Press F1 for more help.</Label>
                </StackPanel>
            </StackPanel>
        </CheckBox.ToolTip>
    </CheckBox>
    <Expander Header="Check the Answer" ExpandDirection="Down">
        <StackPanel>
            <RadioButton>A.母猪变成猴子!</RadioButton>
            <RadioButton>B.世界本末倒置!</RadioButton>
            <RadioButton>C.树倒猢狲散!</RadioButton>
            <RadioButton>D.女人不爱钱了!</RadioButton>
        </StackPanel>
    </Expander>
</StackPanel>
</Page>

 

一个WPF的TOOLTIPS的界面效果(清爽)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值