点击或拖拽改变大小

CornerRadius 结构

表示矩形的角的半径,格式 一个数字或者四个数字 比如10或者 10,10,10,10 topLeft,topRight,bottomRight,bottomLeft

命名空间:  CPF.Controls
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
public struct CornerRadius : IEquatable<CornerRadius>

CornerRadius 类型公开以下成员。

构造函数
  名称说明
公共方法CornerRadius(Single)
所有圆角度数都一样
公共方法CornerRadius(Single, Single, Single, Single)
设置每个角
Top
属性
  名称说明
公共属性BottomLeft
This property is the Length on the thickness' bottom left corner
公共属性BottomRight
This property is the Length on the thickness' bottom right corner
公共属性TopLeft
This property is the Length on the thickness' top left corner
公共属性TopRight
This property is the Length on the thickness' top right corner
Top
方法
运算符
  名称说明
公共运算符静态成员Equality
Overloaded operator to compare two CornerRadiuses for equality.
公共运算符静态成员(String to CornerRadius)
公共运算符静态成员Inequality
Overloaded operator to compare two CornerRadiuses for inequality.
Top
扩展方法
  名称说明
公共扩展器方法ConvertTo
类型转换
(由 ObjectExtenstions 定义。)
公共扩展器方法Delay
延迟操作
(由 ObjectExtenstions 定义。)
公共扩展器方法Equal
对象是否相等
(由 ObjectExtenstions 定义。)
公共扩展器方法GetCreationCode (由 ObjectExtenstions 定义。)
公共扩展器方法GetPropretyValue
获取对象属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法GetValue
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。)
公共扩展器方法Invoke
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。)
公共扩展器方法SetPropretyValue
设置属性值
(由 ObjectExtenstions 定义。)
公共扩展器方法SetValue
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。)
Top
参见