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