Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
style required targettype?
posted

Why is it necessary to explicitely specify target type if I specify style inline like this?

<igDP:UnboundField BindingPath="." BindingMode="OneWay" Label="Changes" Converter="{StaticResource headerConverter}">
                            <igDP:UnboundField.Settings>
                                <igDP:FieldSettings>
                                    <igDP:FieldSettings.CellValuePresenterStyle>
                                        <Style TargetType="{x:Type igDP:CellValuePresenter}">
                                            <Setter Property="Control.FontWeight" Value="Bold"/>
                                        </Style>
                                    </igDP:FieldSettings.CellValuePresenterStyle>
                                </igDP:FieldSettings>
                            </igDP:UnboundField.Settings>
                        </igDP:UnboundField>