Soluling home   Document home

XAML (WPF, UWP, Xamarin) scan rules

Use this sheet to set the rules that specify what properties are scanned from the XAML files or resources. XAML files contain several kinds of properties. Not all of them should be localized. Soluling's XAML parser scans properties only if there is a match in the scan rules.

If the list shows the default rules of the application, the list contains the property values that, in most cases, should be localized. You can add new properties if you want to localize other kinds of properties, or your application uses 3rd party controls that use custom properties. If the list shows a project or node-specific rule, the list is by default empty. You can add new rules. Remember that Soluling uses a rule chaining, so if the current node does not contain any matching rule, then Soluling uses the rules of the parent node. The fallback is the default rules of the application.

Button Description

Add
Add

Add a new rule.

Add
Copy

Add a new rule by copying the selected rule.

Edit
Edit

Edit the selected rule.

Remove
Remove

Remove the selected rule.

Remove all
Remove all

Remove all rules.

Import
Import

Import rules from a file.

Export
Export

Export rules to a file.

Export
Move

Move the selected rule into another node.

Publish
Show chain

Show the rule chain. Click this to see all the rules that are applied to this node.

Filter

You can enter a filter string to show only specific rules.

Check Show rules of the parent items if you want to show the rules of the parent items too.