当前位置:网站首页>WPF项目--控件入门基础用法,必知必会XAML
WPF项目--控件入门基础用法,必知必会XAML
2022-07-31 15:08:00 【济南医疗小程序状元】
控件入门基础用法,必知必会
<Window x:Class="WpfApp1.control.LableWindow1"
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:WpfApp1.control"
mc:Ignorable="d"
Title="LableWindow1" Height="450" Width="800">
<Grid>
<!--<Label Content="Label" HorizontalAlignment="Left" Margin="195,155,0,0" VerticalAlignment="Top"/>-->
<!--
height 高度设置 野兔 hare 的 高度 height
width 宽度设置 狼 wolf的宽度 width
外边距 使用margin 四个数字 对应方向分别为 左 上 右 下 女长官的外边距
一个数字,代表所有方向的外边距
两个数字 分别代表左右 上下 -->
<Label Width="180" Height="36" Content="ME is a lable 控件"
HorizontalAlignment="Right"
VerticalAlignment="Top" Margin="0,10" FontSize="18" Foreground="Blue"/>
</Grid>
</Window>
效果

边栏推荐
- R language test whether the sample conforms to normality (test whether the sample comes from a normally distributed population): shapiro.test function tests whether the sample conforms to the normal d
- R语言检验样本是否符合正态性(检验样本是否来自一个正态分布总体):shapiro.test函数检验样本是否符合正态分布(normality test)
- Sentinel流量控制
- Excel快速对齐表格的中姓名(两个字姓名和三个字姓名对齐)
- Synchronized和volatile 面试简单汇总
- DeepLab系列学习
- 自适应控制——仿真实验三 用超稳定性理论设计模型参考自适应系统
- R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(legend、修改可视化图像的图例在整图中的位置)
- Trigonometric identity transformation formula
- R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化分组箱图、使用ggpar函数改变图形化参数(caption、添加、修改可视化图像的题注、脚注内容)
猜你喜欢

mongo进入报错

AVH Deployment Practice (1) | Deploying the Flying Paddle Model on Arm Virtual Hardware

TRACE32 - Common Operations

OpenShift 4 - 用 Operator 部署 Redis 集群

DBeaver连接MySQL 8.x时Public Key Retrieval is not allowed 错误解决

leetcode303场周赛复盘

《微信小程序-进阶篇》Lin-ui组件库源码分析-Icon组件

架构实战营模块8消息队列表结构设计

思路迪医药冲刺港股:5个月亏2.9亿 泰格医药与先声药业是股东

Excel quickly aligns the middle name of the table (two-word name and three-word name alignment)
随机推荐
浏览器自带的拾色器
Architecture actual combat battalion module 8 message queue table structure design
Sentinel热点参数限流
STM32(十)------- SPI通信
The role of /etc/profile, /etc/bashrc, ~/.bash_profile, ~/.bashrc files
Public Key Retrieval is not allowed error solution when DBeaver connects to MySQL 8.x
NPM淘宝镜像(最新版本)于2021-11-21 16:53:52发布新版本npm镜像[通俗易懂]
Synchronized and volatile interview brief summary
力扣:738.单调递增的数字
使用 PyTorch 检测眼部疾病
消息队列消息数据存储MySQL表设计
力扣:714. 买卖股票的最佳时机含手续费
DeepLab Series Learning
R language ggplot2 visualization: use the ggboxplot function of the ggpubr package to visualize the box plot, use the font function to customize the font size, color, style (bold, italic) of the legen
PDF 拆分/合并
R语言ggplot2可视化:使用ggpubr包的ggboxplot函数可视化箱图、使用font函数自定义图例标题文本(legend.title)字体的大小、颜色、样式(粗体、斜体)
WeChat chat record search in a red envelope
工程水文学名词解释总结
修改SQL语言实现Mysql 多表关联查询优化
The paper manual becomes 3D animation in seconds, the latest research of Wu Jiajun of Stanford University, selected for ECCV 2022