点击或拖拽改变大小

UIElementMeasureCore 方法

测量期望尺寸

命名空间:  CPF
程序集:  CPF (在 CPF.dll 中) 版本:0.8.8.5
语法
C#
protected virtual Size MeasureCore(
	 in Size availableSize
)

参数

availableSize
类型:CPF.DrawingSizeInAttribute
相当于父容器能提供的尺寸,如果值为PositiveInfinity,则父容器未定义尺寸依赖子元素的尺寸

返回值

类型:Size
The desired size for the control.
参见