Xceed DataGrid for WPF v7.2 Documentation
SetImageStretchDirection Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views.Surfaces Namespace > RegionPresenter Class : SetImageStretchDirection Method
The dependency object to which the attached property is written.
A StretchDirection value indicating how images displayed in the region are scaled. By default, UniformToFill.
Sets a value indicating how images displayed in the region presenter are scaled.
Syntax
'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.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RegionPresenter Class
RegionPresenter Members