共用方式為


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 設計工具擴充性