Xceed DataGrid for WPF v7.2 Documentation
Row ControlTemplates
Welcome to Xceed DataGrid, Editors, and 3D Views for WPF v7.2 > Xceed DataGrid for WPF > DataGrid Fundamentals > Views and Themes > Themes > Multi-surface Themes > Custom Multi-surface Themes > Custom Surface Configurations > Row ControlTemplates

In both the Elemental and Chameleon themes, the Row ControlTemplates are contained in Grid objects that have multiple column and row definitions. The following images demonstrate how the elements of the template are laid out within the Grid as well as indicate the column and row indexes. 

Region Presenter Locations

Where the RegionPresenters are located in the ControlTemplate depends on the theme. The following table provides a list of the 3 default region presenters are their location within the Grid. Some of the coordinates may refer to the location of a containing control.

These ControlTemplates are those of the Elemental and Chameleon themes. Custom ControlTemplates do not need to follow this structure.

Table 1: Region presenter coordinates in Elemental ControlTemplate

Region presenter name Column Column span Row Row span
REGION_Image 1 1 1 2
REGION_Title 0 6 4 1
REGION_Data 1 4 5 4

Table 2: Region presenter coordinates in Chameleon ControlTemplate

Region presenter name Column Column span Row Row span
REGION_Image 3 9 1 1
REGION_Title 0 2 0 5
REGION_Data 3 6 3 1

 


Figure 1: Row ControlTemplate in Elemental themes


Figure 2: Row ControlTemplate in Chameleon theme