You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicpartialclassMainWindowViewModel:ViewModelBase{privateObservableCollection<Person>_people=new(){newPerson{FirstName="Eleanor",LastName="Pope",Age=32},newPerson{FirstName="Jeremy",LastName="Navarro",Age=74},newPerson{FirstName="Lailah ",LastName="Velazquez",Age=16},newPerson{FirstName="Jazmine",LastName="Schroeder",Age=52},};publicMainWindowViewModel(){Source=newFlatTreeDataGridSource<Person>(_people){Columns={newTextColumn<Person,string>("First Name", x =>x.FirstName,width:GridLength.Auto),newTextColumn<Person,string>("Last Name", x =>x.LastName,width:GridLength.Star),newTextColumn<Person,int>("Age", x =>x.Age,width:GridLength.Auto),},};}publicFlatTreeDataGridSource<Person>Source{get;}}
The text was updated successfully, but these errors were encountered:
When either horizontal
Padding
orMargin
is set on the Row, the content doesn't fit in the table and the horizontal scrollbar becomes visible.GridLength.Start should take them into account.
20250224-1552-01.4300016.mp4
Repo:
The text was updated successfully, but these errors were encountered: