DSkin
DSkin
DSkin.DirectUI
DuiTextBox 类
DuiTextBox 属性
AllowPasteImage 属性
AutoHeight 属性
BackColor 属性
CanFocus 属性
CaretColor 属性
CaretIndex 属性
ContentHeight 属性
Cursor 属性
EnabledRenderKeywords 属性
InnerScrollBar 属性
IsInsert 属性
Items 属性
KeywordsStyles 属性
Lines 属性
MaxLength 属性
Multiline 属性
PasswordChar 属性
ReadOnly 属性
RightToLeft 属性
RollSize 属性
RowCount 属性
SelectedText 属性
SelectionBackColor 属性
SelectionColor 属性
SelectionLength 属性
SelectionStart 属性
ShowScrollBar 属性
TabStop 属性
Text 属性
TextAlign 属性
TextRenderMode 属性
DuiTextBox 属性
DuiTextBox
类型公开以下成员。
属性
名称
说明
AllowPasteImage
是否允许粘贴图片
Anchor
锚点类型(运行时有效)
(继承自
DuiBaseControl
。)
AutoChangedCursor
自动处理光标
(继承自
DuiBaseControl
。)
AutoHeight
自动高度,多行模式下才有效,并且滚动条将被隐藏
BackColor
(重写
DuiBaseControl
BackColor
.)
BackgroundImage
背景图
(继承自
DuiBaseControl
。)
BackgroundImageLayout
背景图布局
(继承自
DuiBaseControl
。)
BackgroundRender
背景渲染
(继承自
DuiBaseControl
。)
BitmapCache
启用控件图像缓存
(继承自
DuiBaseControl
。)
Borders
边框显示模式
(继承自
DuiBaseControl
。)
CanActive
控件是否可以激活
(继承自
DuiBaseControl
。)
CanDraw
强制设置可见,用于内部绘制
(继承自
DuiBaseControl
。)
CanFocus
(重写
DuiBaseControl
CanFocus
.)
CanRaiseEvents
(继承自
Component
。)
Canvas
控件画布
(继承自
DuiBaseControl
。)
CanVisible
是否可见,是否在可视范围内以及Visible为True
(继承自
DuiBaseControl
。)
CaretColor
光标颜色
CaretIndex
获取或设置插入符号的插入位置索引
ClientRectangle
控件的工作区域
(继承自
DuiBaseControl
。)
Container
(继承自
Component
。)
ContentHeight
内容高度
ContextMenuStrip
获取或设置与此控件关联的 右键菜单
(继承自
DuiBaseControl
。)
Controls
DUI子控件集合
(继承自
DuiBaseControl
。)
CurrentCursor
当前显示的鼠标样式
(继承自
DuiBaseControl
。)
Cursor
(重写
DuiBaseControl
Cursor
.)
DesignMode
(继承自
DuiBaseControl
。)
Dock
控件停靠方式
(继承自
DuiBaseControl
。)
DrawDisabled
是否绘制禁用效果,如果为true,控件将会设置位图缓存BitmapCache为true
(继承自
DuiBaseControl
。)
DrawFocusRectangle
是否绘制焦点框
(继承自
DuiBaseControl
。)
Enabled
是否启用
(继承自
DuiBaseControl
。)
EnabledRenderKeywords
是否启用关键词渲染,KeywordsStyles属性来定义关键词
EnableLayoutEngine
启用布局引擎
(继承自
DuiBaseControl
。)
Events
(继承自
Component
。)
Focused
该值指示控件是否有输入焦点
(继承自
DuiBaseControl
。)
Font
字体
(继承自
DuiBaseControl
。)
ForeColor
前景色
(继承自
DuiBaseControl
。)
Height
控件高度
(继承自
DuiBaseControl
。)
HostControl
获取承载DuiControl的控件
(继承自
DuiBaseControl
。)
ImageAttribute
控件图像属性,用于控制控件图像呈现到窗体上的效果,设置该属性之后,位图缓存BitmapCache将会为true
(继承自
DuiBaseControl
。)
ImageEffect
图片特效,需要启用位图缓存
(继承自
DuiBaseControl
。)
InheritanceSize
继承父级的尺寸百分比
(继承自
DuiBaseControl
。)
InnerScrollBar
内部滚动条
IsDisposed
是否已被释放
(继承自
DuiBaseControl
。)
IsInsert
是否是插入模式,否则是替换模式
IsMouseDown
鼠标是否按下
(继承自
DuiBaseControl
。)
IsMouseEnter
鼠标是否移入
(继承自
DuiBaseControl
。)
IsMouseEnterChildControl
鼠标是否移入子控件
(继承自
DuiBaseControl
。)
IsMoveParentPaint
控件位置改变,父容器是否马上重绘
(继承自
DuiBaseControl
。)
IsSelected
是否被选中
(继承自
DuiBaseControl
。)
Items
内容
KeywordsStyles
关键词样式集合
LayoutEngine
布局引擎实例
(继承自
DuiBaseControl
。)
Left
X
(继承自
DuiBaseControl
。)
Lines
布局后的行集合
Loaded
是否加载完成,第一次显示之后为true
(继承自
DuiBaseControl
。)
Location
控件相对于父容器的的坐标位置
(继承自
DuiBaseControl
。)
LocationToControl
获取该控件相对于承载DuiControl的Control控件的位置
(继承自
DuiBaseControl
。)
LocationToScreen
获取该控件相对于屏幕左上角的位置
(继承自
DuiBaseControl
。)
Margin
外边距
(继承自
DuiBaseControl
。)
MaxLength
最大长度
MouseEnterChildControl
鼠标当前所在的子控件
(继承自
DuiBaseControl
。)
MouseEventBubble
鼠标事件冒泡
(继承自
DuiBaseControl
。)
Multiline
是否多行
Name
控件名称
(继承自
DuiBaseControl
。)
OriginPoint
原点
(继承自
DuiBaseControl
。)
Parent
父容器
(继承自
DuiBaseControl
。)
ParentInvalidate
是否让父容器失效重绘
(继承自
DuiBaseControl
。)
PasswordChar
指示为单行文本编辑控件的密码输入显示的字符
ReadOnly
是否只读
Region
控件区域,控件区域必须小于控件尺寸
(继承自
DuiBaseControl
。)
RightToLeft
获取或设置一个值,该值指示是否将控件的元素对齐以支持使用从右向左的字体的区域设置。
RollSize
滚轮每格滚动的像素
RotationAngle
顺时针旋转,只旋转图像,坐标不旋转
(继承自
DuiBaseControl
。)
RowCount
内容行数
ScaleSize
缩放,只缩放图像,不缩放坐标
(继承自
DuiBaseControl
。)
SelectedText
被选中的文字
SelectionBackColor
被选中的文字背景颜色
SelectionColor
被选中的文字颜色
SelectionLength
获取或设置一个字符数在当前选定的值
SelectionStart
获取或设置当前选择的开头的字符索引
ShowBorder
是否显示边框
(继承自
DuiBaseControl
。)
ShowScrollBar
显示滚动条
Site
(继承自
Component
。)
Size
控件大小
(继承自
DuiBaseControl
。)
SudokuDrawBackImage
九宫格方式绘制背景图片
(继承自
DuiBaseControl
。)
SudokuPartitionWidth
九宫格图片切割宽度
(继承自
DuiBaseControl
。)
SuspendInvalidate
是否挂起重绘,为True之后Invalidate方法将失效
(继承自
DuiBaseControl
。)
TabIndex
获取或设置在控件的容器的控件的 Tab 键顺序。
(继承自
DuiBaseControl
。)
TabStop
(重写
DuiBaseControl
TabStop
.)
Tag
与控件关联的用户自定义数据
(继承自
DuiBaseControl
。)
Text
文本内容
(重写
DuiBaseControl
Text
.)
TextAlign
文本对齐方式,只支持单行模式
TextRenderMode
文字渲染模式
ToolTip
提示文本
(继承自
DuiBaseControl
。)
Top
Y
(继承自
DuiBaseControl
。)
Virtualization
虚拟化,虚拟化之后,有图像显示,但是不能点击到
(继承自
DuiBaseControl
。)
Visible
控件是否可见
(继承自
DuiBaseControl
。)
VisibleControls
当前可见的子控件集合
(继承自
DuiBaseControl
。)
Width
控件宽度
(继承自
DuiBaseControl
。)
Top
参见
引用
DuiTextBox 类
DSkin.DirectUI 命名空间