Hello,
I bind 2 Controls
Follow Visible attribute, after saving and loading my window with Persistence Framework my toggle button is broken and dont works anymore
This code helps
Should i use this for every binded Porperty? Can i exclude any binded properties from serialisation ?
I bind 2 Controls
<
telerik:RadToggleButton
x:Name
=
"ShowLogButton"
Grid.Column
=
"1"
Grid.Row
=
"1"
Content
=
"..."
></
telerik:RadToggleButton
>
<
telerik:RadListBox
ItemsSource
=
"{Binding Path=Log}"
DisplayMemberPath
=
"Description"
Grid.Column
=
"0"
Grid.Row
=
"2"
Grid.ColumnSpan
=
"2"
Height
=
"70"
Visibility
=
"{Binding ElementName=ShowLogButton, Path=IsChecked, Converter={StaticResource ControlVisibilityConverter}}"
>
</
telerik:RadListBox
>
Follow Visible attribute, after saving and loading my window with Persistence Framework my toggle button is broken and dont works anymore
This code helps
<
telerik:RadToggleButton
x:Name
=
"ShowLogButton"
Grid.Column
=
"1"
Grid.Row
=
"1"
Content
=
"..."
></
telerik:RadToggleButton
>
<
telerik:RadListBox
ItemsSource
=
"{Binding Path=Log}"
DisplayMemberPath
=
"Description"
Grid.Column
=
"0"
Grid.Row
=
"2"
Grid.ColumnSpan
=
"2"
Height
=
"70"
Visibility
=
"{Binding ElementName=ShowLogButton, Path=IsChecked, Converter={StaticResource ControlVisibilityConverter}}"
>
<
telerik:PersistenceManager.SerializationOptions
>
<
telerik:SerializationMetadataCollection
>
<
telerik:PropertyNameMetadata
Condition
=
"Except"
Expression
=
"Visibility"
SearchType
=
"PropertyName"
/>
</
telerik:SerializationMetadataCollection
>
</
telerik:PersistenceManager.SerializationOptions
>
</
telerik:RadListBox
>
Should i use this for every binded Porperty? Can i exclude any binded properties from serialisation ?