Hi
I need to display an image located on the local drive within a datacard.
Here is my existing xaml
<
igDP:XamDataPresenter Name="myDataPresenter" Grid.Row="1" BindToSampleData="True" AutoFit="True">
<igDP:XamDataPresenter.FieldSettings>
<igDP:FieldSettings AllowRecordFiltering="True" FilterClearButtonVisibility="Visible" FilterOperandUIType="Combo" FilterOperatorDefaultValue="Contains" FilterStringComparisonType="CaseInsensitive" AllowEdit="False" AllowGroupBy="False" />
</igDP:XamDataPresenter.FieldSettings>
<igDP:XamDataPresenter.FieldLayoutSettings>
<igDP:FieldLayoutSettings AutoGenerateFields="False"/>
</igDP:XamDataPresenter.FieldLayoutSettings>
<igDP:XamDataPresenter.FieldLayouts>
<igDP:FieldLayout Key="myLayout">
<igDP:FieldLayout.Fields>
<igDP:Field Name="ExerciseTitle" Label="ExerciseTitle" Height="Auto" Width="240"/>
<igDP:Field Name="ExerciseText" Label="ExerciseText" Height="200" Width="240"/>
<igDP:Field Name="Difficulty" Label="Difficulty" Height="Auto" Width="240"/>
<igDP:Field Name="Tags" Label="Tags" Height="Auto" Width="240"/>
<igDP:Field Name="ExerciseID" Label="ExerciseID" Height="0" Width="0"/>
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataPresenter.FieldLayouts>
<igDP:XamDataPresenter.View>
<igDP:CardView>
<igDP:CardView.ViewSettings>
<igDP:CardViewSettings AutoFitCards="HorizontallyAndVertically" HeaderPath="ExerciseID" ShouldCollapseEmptyCells="True" />
</igDP:CardView.ViewSettings>
</igDP:CardView>
</igDP:XamDataPresenter.View>
</igDP:XamDataPresenter>
Hello,
Thank you for your post. I have been looking into it and I can suggest you see the sample from the Feature Browser under xamDataCards / Style / Custom Card Layout section, where it is show how to display image in the Control. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.
Hi Stefan,
my experience with xaml with quite limited so i am trying to learn by example.
Can you give me a vb.net example which would display an image located on the located drive?
thankyou for your help,
Paul