AdornerPlacementCollection.SizeRelativeToContentHeight Method (Double, Double)
Adds a placement term that sizes the adorner panel relative to the adorned content's height.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub SizeRelativeToContentHeight ( _
factor As Double, _
offset As Double _
)
public void SizeRelativeToContentHeight(
double factor,
double offset
)
public:
void SizeRelativeToContentHeight(
double factor,
double offset
)
member SizeRelativeToContentHeight :
factor:float *
offset:float -> unit
public function SizeRelativeToContentHeight(
factor : double,
offset : double
)
Parameters
- factor
Type: System.Double
A factor that is multiplied against the content's height.
- offset
Type: System.Double
An offset that is added to the result.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AdornerPlacementCollection Class
SizeRelativeToContentHeight Overload
Microsoft.Windows.Design.Interaction Namespace
PrimarySelectionAdornerProvider