Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views.Surfaces Namespace / RegionPresenter Class / SetImageStretch Method
The dependency object to which the attached property is written.
A Stretch value indicating how images displayed in the region are stretched. By default, UniformToFill.


In This Topic
    SetImageStretch Method
    In This Topic
    Sets a value indicating how images displayed in the region presenter should be stretched to fill their destination rectangles.
    Syntax
    '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.
    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