Active Query Builder support area

Criteria labels are not found

Avatar
  • updated
  • Completed

Hi,

When I load a QueryBuilder in XAML, I don't have the right labels for the criteria grid.

For example, instead of having "Visible" or "Expression", I get "STRCRITERIAOUTPUT" and "STRCRITERIAEXPRESSION".

However, the title label of the docking "Sub-query Structure" and "Properties" is loaded correctly. Here is a screenshot.

How can I solve the problem?

Thank you!

Avatar
Marc-André Croteau

Sure, I only had to override this :

The ColumnHeaderStyle was the property to replace!

Snippet

<Style TargetType="DataGrid">
    <Setter Property="Background" Value="{DynamicResource WhiteBrush}" />
    <Setter Property="ColumnHeaderStyle" Value="{StaticResource DataGridColumnHeader}" />
</Style>

 

Avatar
Andrey Zavyalov, PM

I am glad to know that. But this might be our shortcoming as well. Can you kindly share this style override?

Avatar
Marc-André Croteau

Hello,

I found the problem. That was about an overriding style of the DataGrid type.

Thank you!

Avatar
Andrey Zavyalov, PM

Hello, 

Possibly you have redefined style of the DataGridView. Can you send us the XAML source code to investigate this problem?