Xaml(WPF) 复选框不反映文本字段内容。 ivalueprovider冲突

问题描述 投票:0回答:0
I am creating a form which is having some checkboxes ,
the issue is :
**checkbox** textfield **content** is not appearing on screen while i am setting ivalue provider in webconfig as **LocalFirstValueProvide**, it is showing namespace name , on the other hand the content appears fine with ivalueprovider=**configValueProvide** .

reference images are attaching with query,
Hoping that I can have solution to my problem .

代码:XAML

  <controls:CheckBox  Name="chkStructuredRentalsAvailableatRestructuring" Grid.ColumnSpan="2"  Grid.Row="4" Grid.Column="2"  IsChecked="{Binding Target.RentalTemplate.STRC_RNTL_ALVB_RSTR_IND, Mode=TwoWay}" HorizontalAlignment="Stretch" >
<controls:TextBlock Text="Structured Rentals Available at Restructuring" Name="txtStructuredRentalsAvailableAtRestructuring" TextWrapping="Wrap" HorizontalAlignment="Left" LineHeight="1" Height="Auto" Grid.ColumnSpan="2"/>
</controls:CheckBox>

     

View on localfirstvalueprovider Image 1 , View on ConfigValueprovider Image 2

wpf xaml checkbox web-config
© www.soinside.com 2019 - 2024. All rights reserved.