点击或拖拽改变大小

DuiCheckBox 类

[缺少 "T:DSkin.DirectUI.DuiCheckBox" 的 <summary> 文档]

继承层次

命名空间:  DSkin.DirectUI
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public class DuiCheckBox : DuiBaseControl

DuiCheckBox 类型公开以下成员。

构造函数
  名称说明
公共方法DuiCheckBox
初始化 DuiCheckBox 类的一个新实例
Top
属性
  名称说明
公共属性AdaptImage
控件适应图片大小,否则图片将缩放以适应控件
公共属性Anchor
锚点类型(运行时有效)
(继承自 DuiBaseControl。)
公共属性AutoChangedCursor
自动处理光标
(继承自 DuiBaseControl。)
公共属性AutoCheck
点击后自动更改状态
公共属性AutoSize
自适应内容
(重写 DuiBaseControl.AutoSize.)
公共属性BackColor
背景色
(继承自 DuiBaseControl。)
公共属性BackgroundImage
背景图
(继承自 DuiBaseControl。)
公共属性BackgroundImageLayout
背景图布局
(继承自 DuiBaseControl。)
公共属性BackgroundRender
背景渲染
(继承自 DuiBaseControl。)
公共属性BitmapCache
启用控件图像缓存
(继承自 DuiBaseControl。)
公共属性Borders
边框显示模式
(继承自 DuiBaseControl。)
公共属性CanActive
控件是否可以激活
(继承自 DuiBaseControl。)
公共属性CanDraw
强制设置可见,用于内部绘制
(继承自 DuiBaseControl。)
公共属性CanFocus
控件是否可以接收焦点
(继承自 DuiBaseControl。)
受保护的属性CanRaiseEvents (继承自 Component。)
公共属性Canvas
控件画布
(继承自 DuiBaseControl。)
公共属性CanVisible
是否可见,是否在可视范围内以及Visible为True
(继承自 DuiBaseControl。)
公共属性CheckAlign
复选框位置
公共属性Checked
是否被选定
公共属性CheckedHover
选定时鼠标移入的图像
公共属性CheckedNormal
选定时的图像
公共属性CheckedPressed
选定时鼠标按下的图像
公共属性CheckFlagColor
选中的颜色
公共属性CheckFlagColorDisabled
禁用时的选中的颜色
公共属性CheckRectBackColorDisabled
禁用时选择框背景色
公共属性CheckRectBackColorHighLight
选择框高亮的背景色
公共属性CheckRectBackColorNormal
选择框背景颜色
公共属性CheckRectBackColorPressed
选择框按下时候的背景色
公共属性CheckRectColor
选择框边框颜色
公共属性CheckRectColorDisabled
禁用时的选择框边框颜色
公共属性CheckRectWidth
获取或设置Check标记的外部方块的宽度,宽度与高度是相等的
公共属性CheckState
选定状态
公共属性ClientRectangle
控件的工作区域
(继承自 DuiBaseControl。)
公共属性Container (继承自 Component。)
公共属性ContextMenuStrip
获取或设置与此控件关联的 右键菜单
(继承自 DuiBaseControl。)
公共属性Controls
DUI子控件集合
(继承自 DuiBaseControl。)
公共属性ControlState
控件状态
公共属性CurrentCursor
当前显示的鼠标样式
(继承自 DuiBaseControl。)
公共属性Cursor
获取或设置鼠标位于控件上的鼠标样式
(继承自 DuiBaseControl。)
受保护的属性DesignMode (继承自 DuiBaseControl。)
公共属性Dock
控件停靠方式
(继承自 DuiBaseControl。)
公共属性DrawDisabled
是否绘制禁用效果,如果为true,控件将会设置位图缓存BitmapCache为true
(继承自 DuiBaseControl。)
公共属性DrawFocusRectangle
是否绘制焦点框
(继承自 DuiBaseControl。)
公共属性Enabled
是否启用
(继承自 DuiBaseControl。)
受保护的属性EnableLayoutEngine
启用布局引擎
(继承自 DuiBaseControl。)
受保护的属性Events (继承自 Component。)
公共属性Focused
该值指示控件是否有输入焦点
(继承自 DuiBaseControl。)
公共属性Font
字体
(继承自 DuiBaseControl。)
公共属性ForeColor
前景色
(继承自 DuiBaseControl。)
公共属性Height
控件高度
(继承自 DuiBaseControl。)
公共属性HostControl
获取承载DuiControl的控件
(继承自 DuiBaseControl。)
公共属性ImageAttribute
控件图像属性,用于控制控件图像呈现到窗体上的效果,设置该属性之后,位图缓存BitmapCache将会为true
(继承自 DuiBaseControl。)
公共属性ImageEffect
图片特效,需要启用位图缓存
(继承自 DuiBaseControl。)
公共属性IndeterminateHover
半选定时鼠标移入的图像
公共属性IndeterminateNormal
半选定时的图像
公共属性IndeterminatePressed
半选定时鼠标按下的图像
公共属性InheritanceSize
继承父级的尺寸百分比
(继承自 DuiBaseControl。)
公共属性InnerPaddingWidth
内部填充宽度
公共属性InnerRectInflate
获取或设置当CheckState==Indeterminate时,内部Rect的缩进量,为正值
公共属性IsDisposed
是否已被释放
(继承自 DuiBaseControl。)
公共属性IsMouseDown
鼠标是否按下
(继承自 DuiBaseControl。)
公共属性IsMouseEnter
鼠标是否移入
(继承自 DuiBaseControl。)
公共属性IsMouseEnterChildControl
鼠标是否移入子控件
(继承自 DuiBaseControl。)
公共属性IsMoveParentPaint
控件位置改变,父容器是否马上重绘
(继承自 DuiBaseControl。)
公共属性IsSelected
是否被选中
(继承自 DuiBaseControl。)
公共属性LayoutEngine
布局引擎实例
(继承自 DuiBaseControl。)
公共属性Left
X
(继承自 DuiBaseControl。)
公共属性Loaded
是否加载完成,第一次显示之后为true
(继承自 DuiBaseControl。)
公共属性Location
控件相对于父容器的的坐标位置
(继承自 DuiBaseControl。)
公共属性LocationToControl
获取该控件相对于承载DuiControl的Control控件的位置
(继承自 DuiBaseControl。)
公共属性LocationToScreen
获取该控件相对于屏幕左上角的位置
(继承自 DuiBaseControl。)
公共属性Margin
外边距
(继承自 DuiBaseControl。)
公共属性MouseEnterChildControl
鼠标当前所在的子控件
(继承自 DuiBaseControl。)
公共属性MouseEventBubble
鼠标事件冒泡
(继承自 DuiBaseControl。)
公共属性Name
控件名称
(继承自 DuiBaseControl。)
公共属性OriginPoint
原点
(继承自 DuiBaseControl。)
公共属性Parent
父容器
(继承自 DuiBaseControl。)
公共属性ParentInvalidate
是否让父容器失效重绘
(继承自 DuiBaseControl。)
公共属性Region
控件区域,控件区域必须小于控件尺寸
(继承自 DuiBaseControl。)
公共属性RotationAngle
顺时针旋转,只旋转图像,坐标不旋转
(继承自 DuiBaseControl。)
公共属性ScaleSize
缩放,只缩放图像,不缩放坐标
(继承自 DuiBaseControl。)
公共属性ShowBorder
是否显示边框
(继承自 DuiBaseControl。)
公共属性Site (继承自 Component。)
公共属性Size
控件大小
(继承自 DuiBaseControl。)
公共属性SpaceBetweenCheckMarkAndText
选择框和文字的距离
公共属性SudokuDrawBackImage
九宫格方式绘制背景图片
(继承自 DuiBaseControl。)
公共属性SudokuPartitionWidth
九宫格图片切割宽度
(继承自 DuiBaseControl。)
公共属性SuspendInvalidate
是否挂起重绘,为True之后Invalidate方法将失效
(继承自 DuiBaseControl。)
公共属性TabIndex
获取或设置在控件的容器的控件的 Tab 键顺序。
(继承自 DuiBaseControl。)
公共属性TabStop
获取或设置一个值,该值指示用户能否使用 Tab 键将焦点放到该控件上。需要在DSKinForm上面才有效果
(继承自 DuiBaseControl。)
公共属性Tag
与控件关联的用户自定义数据
(继承自 DuiBaseControl。)
公共属性Text
显示的文字
(重写 DuiBaseControlText.)
公共属性TextColorDisabled
禁用时的文字颜色
公共属性TextOffset
文本偏移
公共属性TextRenderingHint
文本渲染模式
公共属性ThreeState
是否是三种状态
公共属性ToolTip
提示文本
(继承自 DuiBaseControl。)
公共属性Top
Y
(继承自 DuiBaseControl。)
公共属性UncheckedHover
未选定时鼠标移入的图像
公共属性UncheckedNormal
未选定时的图像
公共属性UncheckedPressed
未选定时鼠标按下的图像
公共属性Virtualization
虚拟化,虚拟化之后,有图像显示,但是不能点击到
(继承自 DuiBaseControl。)
公共属性Visible
控件是否可见
(继承自 DuiBaseControl。)
公共属性VisibleControls
当前可见的子控件集合
(继承自 DuiBaseControl。)
公共属性Width
控件宽度
(继承自 DuiBaseControl。)
Top
方法
  名称说明
公共方法BeginInvoke
在主线程上异步调用方法
(继承自 DuiBaseControl。)
公共方法BringToFront
将控件带到 Z 顺序的前面
(继承自 DuiBaseControl。)
受保护的方法ClickToChangeState
改变状态
公共方法Dispose (继承自 Component。)
受保护的方法Dispose(Boolean)
释放被 DuiCheckBox 使用的非托管资源,并且是否托管资源(可选)
(重写 DuiBaseControlDispose(Boolean).)
公共方法DisposeCanvas
释放画布
(继承自 DuiBaseControl。)
受保护的方法DrawBorders
绘制边框
(继承自 DuiBaseControl。)
受保护的方法Finalize (继承自 Component。)
公共方法Focus
为控件设置输入焦点
(继承自 DuiBaseControl。)
受保护的方法GetService (继承自 Component。)
公共方法HitTest
点击测试
(继承自 DuiBaseControl。)
公共方法Invalidate
使整个控件区域无效,导致重绘
(继承自 DuiBaseControl。)
公共方法Invalidate(Rectangle)
使指定区域无效,导致重绘该区域
(继承自 DuiBaseControl。)
公共方法Invoke
在主线程上调用方法
(继承自 DuiBaseControl。)
公共方法ManagedTask
托管任务,用于处理可能会需要多次处理,但是只要最后一次处理的任务,比如布局,重绘。相同任务在很短时间内被托管多次,只会调用一次。该方法依赖重绘消息或者异步消息
(继承自 DuiBaseControl。)
受保护的方法OnAcceptTask
接收到任务的时候
(继承自 DuiBaseControl。)
受保护的方法OnAnchorChanged
触发AnchorChanged事件
(继承自 DuiBaseControl。)
受保护的方法OnAutoSizeChanged
触发AutoSizeChanged事件
(继承自 DuiBaseControl。)
受保护的方法OnBackgroundImageChanged (继承自 DuiBaseControl。)
受保护的方法OnCheckedChanged
触发Checked改变事件
受保护的方法OnCheckStateChanged
受保护的方法OnDockChanged
触发Dock改变事件
(继承自 DuiBaseControl。)
受保护的方法OnDraw
代码绘制CheckBox
受保护的方法OnEnabledChanged
触发OnEnabledChanged事件
(继承自 DuiBaseControl。)
受保护的方法OnFocusedChanged
触发OnFocusedChanged事件
(继承自 DuiBaseControl。)
受保护的方法OnFontChanged (重写 DuiBaseControlOnFontChanged(EventArgs).)
受保护的方法OnForeColorChanged
触发ForeColorChanged事件
(继承自 DuiBaseControl。)
受保护的方法OnInvalidated
触发Invalidated事件
(继承自 DuiBaseControl。)
受保护的方法OnIsSelectedChanged (继承自 DuiBaseControl。)
受保护的方法OnKeyDown
触发KeyDown事件
(继承自 DuiBaseControl。)
受保护的方法OnKeyPress
触发KeyPress事件
(继承自 DuiBaseControl。)
受保护的方法OnKeyUp
触发KeyUp事件
(继承自 DuiBaseControl。)
受保护的方法OnLayout (继承自 DuiBaseControl。)
受保护的方法OnLoad (继承自 DuiBaseControl。)
受保护的方法OnMarginChanged (继承自 DuiBaseControl。)
受保护的方法OnMouseClick
触发MouseClick事件
(继承自 DuiBaseControl。)
受保护的方法OnMouseDoubleClick
触发MouseDoubleClick事件
(继承自 DuiBaseControl。)
受保护的方法OnMouseDown (重写 DuiBaseControlOnMouseDown(DuiMouseEventArgs).)
受保护的方法OnMouseEnter (重写 DuiBaseControlOnMouseEnter(MouseEventArgs).)
受保护的方法OnMouseLeave (重写 DuiBaseControlOnMouseLeave(EventArgs).)
受保护的方法OnMouseMove
触发MouseMove事件
(继承自 DuiBaseControl。)
受保护的方法OnMouseUp (重写 DuiBaseControlOnMouseUp(DuiMouseEventArgs).)
受保护的方法OnMouseWheel
触发MouseWheel事件
(继承自 DuiBaseControl。)
受保护的方法OnMove
触发Move事件
(继承自 DuiBaseControl。)
受保护的方法OnPaint
触发Paint事件
(继承自 DuiBaseControl。)
受保护的方法OnPaintBackground
触发PaintBackground事件
(继承自 DuiBaseControl。)
受保护的方法OnParentChanged (继承自 DuiBaseControl。)
受保护的方法OnPrePaint (重写 DuiBaseControlOnPrePaint(PaintEventArgs).)
受保护的方法OnPreviewKeyDown
触发PreviewKeyDown事件
(继承自 DuiBaseControl。)
受保护的方法OnPropertyChanged (继承自 DuiBaseControl。)
受保护的方法OnSizeChanged (重写 DuiBaseControlOnSizeChanged(EventArgs).)
受保护的方法OnStartPaint (继承自 DuiBaseControl。)
受保护的方法OnTextChanged (继承自 DuiBaseControl。)
受保护的方法OnVisibleChanged
触发VisibleChanged事件
(继承自 DuiBaseControl。)
公共方法PaintControl
绘制控件
(继承自 DuiBaseControl。)
公共方法PerformLayout
布局子控件
(继承自 DuiBaseControl。)
公共方法ResetMouseStatus
重置鼠标状态,isMouseDown,isMouseEnter,isMouseEnterChildControl设置为false
(继承自 DuiBaseControl。)
公共方法ResumeLayout
恢复布局
(继承自 DuiBaseControl。)
公共方法SendTask
发送任务,父级容器可以接收到任务请求来执行需要的任务
(继承自 DuiBaseControl。)
公共方法SendToBack
将控件发送到 Z 顺序的后面
(继承自 DuiBaseControl。)
公共方法SuspendLayout
挂起布局
(继承自 DuiBaseControl。)
公共方法ToString (继承自 DuiBaseControl。)
公共方法TriggerLoad
触发Load事件
(继承自 DuiBaseControl。)
Top
事件
  名称说明
公共事件AcceptTask
接收到任务时发生
(继承自 DuiBaseControl。)
公共事件AnchorChanged (继承自 DuiBaseControl。)
公共事件AutoSizeChanged (继承自 DuiBaseControl。)
公共事件BackgroundImageChanged (继承自 DuiBaseControl。)
公共事件CheckedChanged
公共事件CheckStateChanged
公共事件ControlAdded (继承自 DuiBaseControl。)
公共事件ControlRemoved (继承自 DuiBaseControl。)
公共事件Disposed (继承自 Component。)
公共事件DockChanged (继承自 DuiBaseControl。)
公共事件EnabledChanged (继承自 DuiBaseControl。)
公共事件FocusedChanged (继承自 DuiBaseControl。)
公共事件FontChanged (继承自 DuiBaseControl。)
公共事件ForeColorChanged (继承自 DuiBaseControl。)
公共事件Invalidated (继承自 DuiBaseControl。)
公共事件IsSelectedChanged (继承自 DuiBaseControl。)
公共事件KeyDown (继承自 DuiBaseControl。)
公共事件KeyPress (继承自 DuiBaseControl。)
公共事件KeyUp (继承自 DuiBaseControl。)
公共事件Layout (继承自 DuiBaseControl。)
公共事件Load (继承自 DuiBaseControl。)
公共事件MarginChanged (继承自 DuiBaseControl。)
公共事件MouseClick (继承自 DuiBaseControl。)
公共事件MouseDoubleClick (继承自 DuiBaseControl。)
公共事件MouseDown (继承自 DuiBaseControl。)
公共事件MouseEnter (继承自 DuiBaseControl。)
公共事件MouseLeave (继承自 DuiBaseControl。)
公共事件MouseMove (继承自 DuiBaseControl。)
公共事件MouseUp (继承自 DuiBaseControl。)
公共事件MouseWheel (继承自 DuiBaseControl。)
公共事件Move (继承自 DuiBaseControl。)
公共事件Paint (继承自 DuiBaseControl。)
公共事件PaintBackground (继承自 DuiBaseControl。)
公共事件ParentChanged (继承自 DuiBaseControl。)
公共事件PrePaint
背景绘制之后,子控件绘制之前,在Paint事件之前。一般用于继承控件的绘制
(继承自 DuiBaseControl。)
公共事件PreviewKeyDown (继承自 DuiBaseControl。)
公共事件PropertyChanged (继承自 DuiBaseControl。)
公共事件SizeChanged (继承自 DuiBaseControl。)
公共事件StartPaint (继承自 DuiBaseControl。)
公共事件TextChanged (继承自 DuiBaseControl。)
公共事件VisibleChanged (继承自 DuiBaseControl。)
Top
扩展方法
  名称说明
公共扩展器方法FormatDateTime
将数据以时间格式并对其格式化
(由 ObjectExtenstions 定义。)
公共扩展器方法FormatNumber
将数据以数值方式对数据格式化
(由 ObjectExtenstions 定义。)
公共扩展器方法FormatString
将数据以字符串格式对数据格式化
(由 ObjectExtenstions 定义。)
公共扩展器方法QueryT
查询内部控件
(由 DuiControlExtensions 定义。)
公共扩展器方法Sleep
异步延迟执行代码,只能在主线程中调用
(由 DuiControlExtensions 定义。)
公共扩展器方法ToBool
将数据转换成Bool,如果转换失败返回False
(由 ObjectExtenstions 定义。)
公共扩展器方法ToDateTime
将数据转换成DateTime,如果转换失败返回空的时间
(由 ObjectExtenstions 定义。)
公共扩展器方法ToDouble
将数据转换成Double,如果转换失败返回0
(由 ObjectExtenstions 定义。)
公共扩展器方法ToEnumT
将数据转换成枚举,如果转换失败则返回默认值
(由 ObjectExtenstions 定义。)
公共扩展器方法ToFloat
将数据转换成Float,如果转换失败返回0
(由 ObjectExtenstions 定义。)
公共扩展器方法ToInt已重载。
将数据转换成int,如果转换失败返回0
(由 ObjectExtenstions 定义。)
公共扩展器方法ToInt(Int32)已重载。
数据转换成int,如果转换失败,返回errorResult
(由 ObjectExtenstions 定义。)
公共扩展器方法ToJson
将对象序列化成Json字符串
(由 JsonHelper 定义。)
公共扩展器方法ToLong
将数据转换成Long,如果转换失败返回0
(由 ObjectExtenstions 定义。)
Top
参见