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
990
PART_RecordContentSite Template style.
posted

I am not able to show combobox in ExpandableFieldRecordPresenter.

<Style TargetType="{x:Type igDP:ExpandableFieldRecordPresenter}">
                    <Setter Property="PART_RecordContentSite">
                        <Setter.Value>
                            <ControlTemplate TargetType="{x:Type igDP:ExpandableFieldRecordPresenter}">
                                <Image Stretch="Fill" Source="/Taser.Shell;component/Resources/Investigation.bmp"/>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                    <!--<Style.Triggers>
                        <Trigger Property="IsVisible" Value="True">
                            <Trigger.Setters>
                                <Setter Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="{x:Type igDP:RecordSelector}">
                                            <Image Source="/Taser.Shell;component/Resources/Pending.bmp"/>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                                <Setter TargetName="PART_RecordContentSite" Property="Template">
                                    <Setter.Value>
                                        <ControlTemplate TargetType="{x:Type igDP:ExpandableFieldRecordPresenter}">
                                            <Image Stretch="Fill" Source="/Taser.Shell;component/Resources/Investigation.bmp"/>
                                        </ControlTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Trigger.Setters>
                        </Trigger>
                    </Style.Triggers>-->
                </Style>

This above style doese not work.

How can I show combobox or checkbox or image in PART_RecordContentSite of ExpandableFieldRecordPresenter. like this.

[-]----------TopRecord--------------------

   [-] [ComboBox with values]

       ----------------------UnderRecords--------------

It will be great if u can use triggers for style to do this.

Thanks