Skip to end of metadata
Go to start of metadata

Describes the direction that content is scaled.

Definition

public enum StretchDirection

Summary

The following table summarizes the members exposed in this enumeration.

Members

UpOnly The content scales upward only when it is smaller than the parent. If the content is larger, no scaling downward is performed.
DownOnly The content scales downward only when it is larger than the parent. If the content is smaller, no scaling upward is performed.
Both The content stretches to fit the parent according to the System.Windows.Controls.Viewbox.Stretch property.
  • No labels