AdornerPlacementValue.Contribution 属性

获取或设置影响位置术语的距离。

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

语法

声明
Public Property Contribution As Double
    Get
    Set
public double Contribution { get; set; }
public:
property double Contribution {
    double get ();
    void set (double value);
}
member Contribution : float with get, set
function get Contribution () : double
function set Contribution (value : double)

属性值

类型:System.Double
一个 double,它是影响位置术语的距离。

.NET Framework 安全性

请参见

参考

AdornerPlacementValue 结构

Microsoft.Windows.Design.Interaction 命名空间

AdornerPlacementCollection

AdornerPanel

IAdornerPlacement

其他资源

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

了解 WPF 设计器扩展性