Hi,
I need some help in figuring out what is causing this ...the "OK" & "Cancel" text overlapping the checkmark and cross (X) marks in the image below... This is the Summary Calc editor UI and those two controls Buttons are called RowSummaryOkButton and RowSummaryCancelButton.
Any help/info would be appreciated.
Thank you
Srikar
Hi Srikar,
Did you remplate that summary chooser control? When I have the theme set to MetroDark and I open the summary chooser dropdown I only see the checkmark and X buttons. Here is what it looks like:
I did not retemplate the "summary chooser" control (can you tell me the exact name of this control?), however I did retemplate SummaryResultPresenter and SummaryResultsPresenter.
<Style TargetType="{x:Type igd:SummaryResultsPresenter}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type igd:SummaryResultsPresenter}"> <Grid> <ItemsControl x:Name="SummaryItems" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" ItemsSource="{TemplateBinding SummaryResults}" /> </Grid> </ControlTemplate> </Setter.Value> </Setter>
</Style> <Style TargetType="{x:Type igd:SummaryResultPresenter}"> <Setter Property="HorizontalAlignment" Value="Right" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type igd:SummaryResultPresenter}" > <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" Padding="{TemplateBinding Padding}" ToolTip="{Binding Path=SummaryResult.ToolTipResolved, RelativeSource={RelativeSource TemplatedParent}}"> <TextBlock HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Text="{Binding Path=SummaryResult.DisplayTextAsync, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource PrefixRemover}}" /> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style>