Hi
I have a XamPropertyGrid-Control with an ReadOnlyTemplate. The Opacity of the ReadOnly-Property seems to be smaller than 1. How can I set it to 1?
<ig:PropertyGridEditorDefinitionTargetType="{x:Type sys:Double}"EditTemplate="{StaticResource SpinIntEditor}"ReadOnlyTemplate="{StaticResource IntEditorRO}"/>
<DataTemplate x:Key="IntEditorRO"><Grid><Grid.ColumnDefinitions><ColumnDefinition Width="20" /><ColumnDefinition Width="*" /></Grid.ColumnDefinitions><Image x:Name="errorImage" Width="16" Height="16" Margin="2" Grid.Column="0" DataContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ig:XamPropertyGrid}}}" Visibility="Hidden"> </Image><TextBox MinWidth="20" Grid.Column="1" Margin="2" Text="{Binding Path=Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"></TextBox></Grid></DataTemplate>
Regards, Stephan
Hello,
This thread seems to be duplicate to the one posted here:
https://www.infragistics.com/community/forums/f/ultimate-ui-for-wpf/121635/xampropertygrid-readonly-opacity-of-a-property
I have already answered you there, and if you have any further questions, please post them in the other thread so we can keep all the information in one place.
SIncerely,
Tihomir TonevAssociate Software DeveloperInfragistics