Except that they wouldn't actually line up if it weren't for. In this manner, same-width columns are created for the "Task", "Duration", and "Notes" fields so they all line up properly. In the scenario above, that sharing takes place across the separate Grids of the column headers and each TreeViewItem row of data. (Both available only on WPF for now.) By setting IsSharedSizeScope on a parent element and SharedSizeGroup on some of the column/row definitions of Grids within it, it's possible to "link" the sizes of cells across different Grids. The first is the Grid.IsSharedSizeScope attached DependencyProperty and its partner-in-crime DefinitionBase.SharedSizeGroup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |