Bind label control to show DisplayString from class field

Hi,

I build all form with VSAE very well. Now I try show DisplayString from my custom field.

For example:

<Label Content="show DisplayString from Status" Margin="2,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="Auto"/>
<smcontrols:ListPicker Name="lstStatus" SelectedItem="{Binding Path=Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" ParentCategoryId="64459E61-2BCA-DADF-6A1A-50497C7EE60E" IsEnabled="True" />

I'd like show DisplayString, depends from console language, from Status fields on lab
January 28th, 2015 12:28am

Sorry again,

I can do with this sample:

<Label Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type views:FormView}}, Path=Strings[DisplayName].Value, FallbackValue='[Display Name]:'}" Margin="2,0,0,0" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="Auto"/>

Free Windows Admin Tool Kit Click here and download it now
January 28th, 2015 1:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics