'Declaration Public Shared Sub SetImageStretchDirection( _ ByVal obj As DependencyObject, _ ByVal value As StretchDirection _ )
'Usage Dim obj As DependencyObject Dim value As StretchDirection RegionPresenter.SetImageStretchDirection(obj, value)
public static void SetImageStretchDirection( DependencyObject obj, StretchDirection value )
Parameters
- obj
- The dependency object to which the attached property is written.
- value
- A StretchDirection value indicating how images displayed in the region are scaled. By default, UniformToFill.