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
HI,
I am attaching a sample project that modifies the ExpandableFieldRecordPreseenter
Sincerely, Matt Developer Support Engineer
Thanks for the reply.
To add one point : please note I want to show any user control in this PART_RecordContentSite.
Eg:- on drip down of any record I want to show Tree View so that I can show information about that trades.
[-]---Record 1-------------
[-] (Details)
[Here I want Tree view....]
[-] Extra info.
[Some other Control like lis box or image viewer]
[-]---Record 2-------------
I am reviewing your issue.
Sincerely,
Matt Developer Support Engineer