Share via


AdornerPlacementCollection.SizeRelativeToAdornerDesiredHeight Method (Double, Double, DependencyObject)

Add a placement term that sizes the adorner panel relative to the specified adorner's desired height.

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

Syntax

'Declaration
Public Sub SizeRelativeToAdornerDesiredHeight ( _
    factor As Double, _
    offset As Double, _
    relativeTo As DependencyObject _
)
public void SizeRelativeToAdornerDesiredHeight(
    double factor,
    double offset,
    DependencyObject relativeTo
)
public:
void SizeRelativeToAdornerDesiredHeight(
    double factor, 
    double offset, 
    DependencyObject^ relativeTo
)
member SizeRelativeToAdornerDesiredHeight : 
        factor:float * 
        offset:float * 
        relativeTo:DependencyObject -> unit 
public function SizeRelativeToAdornerDesiredHeight(
    factor : double, 
    offset : double, 
    relativeTo : DependencyObject
)

Parameters

  • factor
    Type: System.Double
    A factor that is multiplied against the specified adorner's desired height.
  • offset
    Type: System.Double
    An offset that is added to the result.

.NET Framework Security

See Also

Reference

AdornerPlacementCollection Class

SizeRelativeToAdornerDesiredHeight Overload

Microsoft.Windows.Design.Interaction Namespace

AdornerPanel

PrimarySelectionAdornerProvider

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture