AdornerPlacementValue 构造函数

初始化 AdornerPlacementValue 类的新实例。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Sub New ( _
    term As AdornerPlacementDimension, _
    contribution As Double _
)
public AdornerPlacementValue(
    AdornerPlacementDimension term,
    double contribution
)
public:
AdornerPlacementValue(
    AdornerPlacementDimension term, 
    double contribution
)
new : 
        term:AdornerPlacementDimension * 
        contribution:float -> AdornerPlacementValue
public function AdornerPlacementValue(
    term : AdornerPlacementDimension, 
    contribution : double
)

参数

  • contribution
    类型:System.Double
    此值在整个放置中所占的贡献。

.NET Framework 安全性

请参见

参考

AdornerPlacementValue 结构

Microsoft.Windows.Design.Interaction 命名空间

AdornerPlacementCollection

AdornerPanel

IAdornerPlacement

其他资源

演练:在控件内部实现一个轨道

了解 WPF 设计器扩展性