c# ToolStrip控件中button控件 显示文字和图标——笔记
来源:互联网 发布:淘宝内部优惠券微信号 编辑:程序博客网 时间:2024/04/29 01:25
1.同时显示文字和图标
DisplayStyle 属性设为 ImageAndText (DisplayStyle属性用来设置图标的显示状态为 图片、文字、图片和文字 )
ImageRelation 属性设为 ImageBeforeText ( TextImageRelation属性 设置文字和图片的位置关系)
ImageAlign 属性更改图片位置
TextAlign 属性更改文字位置
image属性:设置按钮图标
Text属性: 设置显示的文字
2.只显示文字
DisplayStyle 属性设为 Text
TextAlign 属性更改文字位置
Text属性: 设置显示的文字
3.只显示图标
DisplayStyle 属性设为 Image
ImageAlign 属性更改图片位置
image属性:设置按钮图标
0 0
- c# ToolStrip控件中button控件 显示文字和图标——笔记
- C#中的toolStrip控件
- C# toolstrip 上添加 DateTimePicker 控件
- C# ToolStrip 控件的动态生成
- C#中的ToolStrip控件的使用
- MFC中修改Button控件文字颜色
- StatusStrip和ToolStrip关联控件丢失问题
- 工具栏控件ToolStrip
- C# button自定义控件
- 按钮控件显示图片和图标
- C# toolstrip 控件下方有一条白条 去除方法
- Button控件和RepeatButton控件
- Win32控件使用——Button控件
- 向ToolStrip、MenuStrip、StatusStrip中添加自定义控件
- 关于Toolstrip中添加自定义控件DateTimePicker使用说明
- android中Button控件
- FreeBASIC学习笔记——FireFly常用控件值按钮(Button)和标签(Label)
- C#中使用DateTimePicker控件显示和修改日期时间
- 一些面试问题
- C++的初始化顺序
- phpstorm 2016.2.1最新版本离线激活方法
- (剑指offer)链表
- android-UI-切换fragment导航条---网易云探索(1)
- c# ToolStrip控件中button控件 显示文字和图标——笔记
- 二维数组作为函数形参的函数声明
- Activiti数据库表结构
- leetcode Flatten Binary Tree to Linked List
- 2016年最新J2EE基础入门教程目录(完结版)
- 【poj1201】 Intervals
- Android-自定义图片加载框架
- 题目:用两个栈实现队列
- Android 仿百合网超火爆社交app首页滑动效果