Dela 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
'Usage
Dim instance As AdornerPlacementValue 
Dim value As Double 

value = instance.Contribution

instance.Contribution = value
public double Contribution { get; set; }
public:
property double Contribution {
    double get ();
    void set (double value);
}
public function get Contribution () : double 
public 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

AdornerPlacementValue Members

Microsoft.Windows.Design.Interaction Namespace

AdornerPlacementCollection

AdornerPanel

IAdornerPlacement

Other Resources

Layout Space and Render Space

Walkthrough: Implementing a Rail Inside a Control

Understanding WPF Designer Extensibility