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
1020
XamComboEditor in Style / CellValuePresenter
posted
I have created a style that should be used only for one Celle.

I use the Office2010Blue Theme for the Grid.
 
How can I reach the ComboBox also the style of the grid and not the normal style of the ComboBox see image
 
 
I have tried it with 'BasedOn' but what I refer

 

<Style x:Key="RegionFieldStyle11"
       TargetType="{x:Type igDP:CellValuePresenter}" >
    <Setter Property="Template">
        <Setter.Value>
            <ControlTemplate TargetType="{x:Type igDP:CellValuePresenter}">
                <Grid>
                    <igEditors:XamComboEditor Value="{Binding Path=DataItem.RegionId}"
                                              DisplayMemberPath="Value"
                                              ValuePath="Id"  >
                        <igEditors:XamComboEditor.ItemsSource>
                            <MultiBinding Converter="{StaticResource MultiToAddresRegionConverter}"
                                <Binding Source="{StaticResource dcb}"
                                         Path="DataContext.MasterData.Regions" />
                                <Binding Path="DataItem.CountryId" />
                            </MultiBinding>
                        </igEditors:XamComboEditor.ItemsSource>
                    </igEditors:XamComboEditor>
                </Grid>
            </ControlTemplate>
        </Setter.Value>
    </Setter>
</Style>
 

 

 

 

Thank you