The desired size of a Track is the width (if vertically oriented) or height (if horizontally
oriented) of the Thumb.
When ViewportSize is NaN:
The thumb is measured to find the other dimension.
Otherwise:
Zero size is returned; Track can scale to any size along its children.
This means that it will occupy no space (and not display) unless made larger by a parent or specified size.
命名空间:
CPF.Controls
程序集:
CPF (在 CPF.dll 中) 版本:0.8.8.5
语法 protected override Size MeasureOverride(
in Size availableSize
)
参数
- availableSize
- 类型:CPF.DrawingSizeInAttribute
[缺少 "M:CPF.Controls.Track.MeasureOverride(CPF.Drawing.Size@)" 的 <param name="availableSize"/> 文档]
返回值
类型:
Size[缺少 "M:CPF.Controls.Track.MeasureOverride(CPF.Drawing.Size@)" 的 <returns> 文档]
参见