I bound IsReadOnly with VM's property.
Code like this, but it's not working.
DbIsReadOnly is VM's property.
Code like this, but it's not working.
DbIsReadOnly is VM's property.
<
telerik:PropertyDefinition
Binding
=
"{Binding Path=Host,Mode=TwoWay}"
GroupName
=
"dbSquidPorperties"
DisplayName
=
"{DynamicResource IP}"
IsReadOnly
=
"{Binding DataContext.DbIsReadOnly,RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"
OrderIndex
=
"0"
/>