dotnet / dotnet/wpf

How to freeze last column in WPF datagrid ?

Open
#2,591 20 comments 3 reactions 0 assignees View on GitHub
Question
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

I need to freeze last column of the WPF datagrid. When I set the FrozenColumnCount as 1, then it will freeze only leftmost column but I need to freeze right most column. (that means I need to prevent column from moving). How to achieve this? Seems like need to write custom extension. But I don't have any idea of how to do that? Any guidance or advice will be much appreciated!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.