首页 > 其他分享 >WPF Expander ExpandDirection Left,Right,Up,Down

WPF Expander ExpandDirection Left,Right,Up,Down

时间:2024-09-18 19:51:01浏览次数:1  
标签:Right Up gramma Down grammatical errors spelling type Check

//xaml
<Window x:Class="WpfApp378.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp378"
        mc:Ignorable="d" WindowState="Maximized"
        Title="MainWindow" Height="450" Width="800">
    <Grid ShowGridLines="True">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="500"/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Expander Header="Gramma Left" ExpandDirection="Left" Grid.Column="0" Grid.Row="0">
            <StackPanel>
                <CheckBox>Check gramma as you type.</CheckBox>
                <CheckBox>Hide grammatical errors in this document.</CheckBox>
                <CheckBox>Check gramma with spelling.</CheckBox>
            </StackPanel>
        </Expander>
        <Expander Header="Gramma Right" ExpandDirection="Right" Grid.Column="0" Grid.Row="1">
            <StackPanel>
                <CheckBox>Check gramma as you type.</CheckBox>
                <CheckBox>Hide grammatical errors in this document.</CheckBox>
                <CheckBox>Check gramma with spelling.</CheckBox>
            </StackPanel>
        </Expander>
        <Expander Header="Gramma Down" ExpandDirection="Down" Grid.Column="0" Grid.Row="2">
            <StackPanel>
                <CheckBox>Check gramma as you type.</CheckBox>
                <CheckBox>Hide grammatical errors in this document.</CheckBox>
                <CheckBox>Check gramma with spelling.</CheckBox>
            </StackPanel>
        </Expander>
        <Expander Header="Gramma Up" ExpandDirection="Up" Grid.Column="0" Grid.Row="3">
            <StackPanel>
                <CheckBox>Check gramma as you type.</CheckBox>
                <CheckBox>Hide grammatical errors in this document.</CheckBox>
                <CheckBox>Check gramma with spelling.</CheckBox>
            </StackPanel>
        </Expander>
    </Grid>
</Window>

 

 

 

标签:Right,Up,gramma,Down,grammatical,errors,spelling,type,Check
From: https://www.cnblogs.com/Fred1987/p/18419214

相关文章

  • 网络基础--UPnP基本原理
    1、简介UPnP是通用即插即用(UniversalPlugandPlay)的缩写,主要用于设备的智能互联互通,使用UPnP协议不需要设备驱动程序,它可以运行在目前几乎所有的操作系统平台上,使得在办公室、家庭和其他公共场所方便地构建设备互联互通成为可能。UPNP为NAT(网络地址转换)穿透带来了一个解决方案:......
  • 网络基础--UPnP基本原理
    1、简介UPnP是通用即插即用(UniversalPlugandPlay)的缩写,主要用于设备的智能互联互通,使用UPnP协议不需要设备驱动程序,它可以运行在目前几乎所有的操作系统平台上,使得在办公室、家庭和其他公共场所方便地构建设备互联互通成为可能。UPNP为NAT(网络地址转换)穿透带来了一个解决方案:......
  • 网络基础--UPnP基本原理-CSDN博客
    网络基础--UPnP基本原理1、简介UPnP是通用即插即用(UniversalPlugandPlay)的缩写,主要用于设备的智能互联互通,使用UPnP协议不需要设备驱动程序,它可以运行在目前几乎所有的操作系统平台上,使得在办公室、家庭和其他公共场所方便地构建设备互联互通成为可能。UPNP为NAT(网络地址转换......
  • WPF WebBrowser suppress script errors
    ScriptError,Anerrorhasoccuredinthescriptonthispage.Doyouwanttocontinuerunningscriptsonthispage?   //xaml<Windowx:Class="WpfApp378.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/present......
  • 解决CSDN 导入Markdown图片失效不显示问题
    文章目录解决CSDN导入Markdown图片失效不显示问题1.问题及出现原因1.1**问题复现**1.2**原因**2.解决方案2.1**Gitee**配置2.1.1新建创库,设置开源许可2.1.2设置私人令牌(一会[picGo](https://so.csdn.net/so/search?q=picGo&spm=1001.2101.3001.7020)上需要填写,权......
  • WPF RadioButton GroupName
    <Windowx:Class="WpfApp375.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:d="http://schemas.microsoft......
  • [强网杯2019]supersqli--Web安全进阶系列
    [强网杯2019]supersqli--Web安全进阶系列使用引号判断是否存在sql注入报错,可能存在sql注入,注入payload,判断列数,结果为不存在4列?inject=1'orderby4--q换2试试,正常显示,说明存在2列输出结果?inject=1'orderby2--q尝试使用联合注入失败,并且限制了select|update......
  • Kafka中的Offset和Consumer Group之间的关系是什么?
    在ApacheKafka中,Offset是用来标记消息的位置标识符,它表示了一个主题分区中的消息序列号。每个消息在分区中都有唯一的Offset。当消费者消费消息时,它会跟踪Offset来记住自己已经消费到哪里了。ConsumerGroup(消费者群组)则是多个消费者实例的逻辑分组,它们共同消费一个......
  • Pandas中df.drop_duplicates()的用法
    df.drop_duplicates()是Pandas中用于删除重复行的函数。它可以根据特定列或整个数据框中出现的重复值,保留第一项或最后一项,并删除其余的重复项。这个函数很适合用于数据清洗,特别是处理重复数据时。基本语法:DataFrame.drop_duplicates(subset=None,keep='first',inpla......
  • Docker安装MySQL8.0.39报错:Fatal glibc error: CPU does not support x86-64-v2
    用Docker升级MySQL时报错Fatalglibcerror:CPUdoesnotsupportx86-64-v2,在网上找了很久资料,发现是MySQL的新镜像使用的是OracleLinux9,当前服务器的CPU无法安装这个所以报错,解决方法就是更换镜像版本这是我的解决方案,基于Dockerfile生成镜像:FROMm.daocloud.io/docker.......