Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views.Surfaces Namespace / RegionPresenter Class / GetImageStretchDirection Method
The dependency object from which the property value is read.


In This Topic
    GetImageStretchDirection Method
    In This Topic
    Gets a value indicating how images displayed in the region presenter are scaled.
    Syntax
    'Declaration
     
    Public Shared Function GetImageStretchDirection( _
       ByVal obj As DependencyObject _
    ) As StretchDirection
    'Usage
     
    Dim obj As DependencyObject
    Dim value As StretchDirection
     
    value = RegionPresenter.GetImageStretchDirection(obj)
    public static StretchDirection GetImageStretchDirection( 
       DependencyObject obj
    )

    Parameters

    obj
    The dependency object from which the property value is read.

    Return 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