Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1320
Applying a Style to FieldLayoutSettings.
posted

Hello,

In my project I have several views that use the XamDataGrid. In the fieldlayoutsettings I generally have to set the same properties. For example:

<igWPF:FieldLayoutSettings AllowDelete="False" AllowAddNew="False" MaxSelectedRecords="1"
SelectionTypeCell="None" SelectionTypeField="None"
SelectionTypeRecord="Single" AutoGenerateFields="False"
HighlightAlternateRecords="True"
DataRecordCellAreaStyle="{StaticResource XamDataGridAlternateStyle}"
RecordSelectorStyle="{StaticResource XamDataGridRecordSelectedStyle}"
/>

FieldLayoutSettings doesn't have a style or datatemplate property, but I would like to avoid having to copy paste these properties. Is this possible?

Parents Reply Children
No Data