Parameters
- obj
The dependency object to which the attached property is written.
- value
- true if the item can scroll with the content of a grid; false otherwise (the item will stay fix).
The dependency object to which the attached property is written.
The dependency object to which the attached property is written.
The CanScrollHorizontally attached property can be set on elements (e.g., GroupByControl and GroupHeaderControl) to prevent them from being scrolled horizontally. If set on a row, it will be ignored. The CanScrollHorizontally attached property should not be set on the panel (FixedCellPanel) used to manage the data rows in table view since this panel will automatically handle fixing the appropriate elements (cells).
Using this property will result in the RenderTransform property being modified. In order to use RenderTransform, two solutions are available:
1- Place the element on which the CanScrollHorizontally property has been set in a panel, which will have the desired RenderTransform.
2- Place the element which has the desired RenderTransform in a simple Decorator that will set the CanScrollHorizontally property to false.
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