Share via


AdornerPlacementValue Constructor

Initializes a new instance of the AdornerPlacementValue class.

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

Syntax

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

Parameters

  • contribution
    Type: System.Double
    The contribution this value makes to the overall placement.

.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