Xceed Toolkit Plus for WPF v4.6 Documentation
GetRemoveColumnStretchingOnResize Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace > TableView Class : GetRemoveColumnStretchingOnResize Method

The dependency object from which the property value is read.

Gets a value indicating whether column stretching is removed when columns are resized.
Syntax
'Declaration
 
Public Shared Function GetRemoveColumnStretchingOnResize( _
   ByVal obj As DependencyObject _
) As Boolean
'Usage
 
Dim obj As DependencyObject
Dim value As Boolean
 
value = TableView.GetRemoveColumnStretchingOnResize(obj)
public static bool GetRemoveColumnStretchingOnResize( 
   DependencyObject obj
)

Parameters

obj

The dependency object from which the property value is read.

Return Value

true if column stretching is removed when columns are resized; false otherwise. By default, false.
Remarks
If set to true, column stretching will be removed as soon as an end user resizes a column. This includes any and all star ("*") sizing. When column stretching is removed as a result of a resize, the value of the ColumnStretchMode property will no longer be valid. Changing the width of a column programmatically will not affect column stretching.
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

TableView Class
TableView Members