Share via


AdornerPlacementValue.Contribution Property

Gets or sets the distance the placement term is affected by.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
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)

Property Value

Type: System.Double
A double that is the distance the placement term is affected by.

.NET Framework Security

See Also

Reference

AdornerPlacementValue Structure

Microsoft.Windows.Design.Interaction Namespace

AdornerPlacementCollection

AdornerPanel

IAdornerPlacement

Other Resources

Walkthrough: Implementing a Rail Inside a Control

Understanding WPF Designer Extensibility