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
500
How to apply ExpandableFieldRecordPresenterStyle on second FieldLayout(Child record)
posted

Hello,

I have two FieldLayouts in my XamDataGrid. Second Layout is shown as Child Record.

My requirement is to show second record with some Margin after I expand Parent Record.

I tried using ExpandableFieldRecordPresenterStyle by adding following code:

In XamDataGrid.Resources:

<Style x:Key="fvpMargin" TargetType="{x:Type igDP:ExpandableFieldRecordPresenter}">
<Setter Property="Margin" Value="20,20,20,20"/>
</Style> 

In Field(Second field layout):

<igDP:Field.Settings>
<uc:RMFieldSettings ExpandableFieldRecordPresenterStyle="{StaticResource fvpMargin}" />
</igDP:Field.Settings>

But can't get it to work.

Please help.

Thanks & Regards,

Priya

Parents Reply Children
No Data