| IResourceXamlWriterSettings Properties |
The IResourceXamlWriterSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| ResolveResourceKey |
Callback to customize the resource key names used in GetXaml when ResourcesCountLimit is bigger than 0.
| |
| ResourcesBrushStartIndex |
Start index used with ResourcesSolidColorBrushKeyFormatString.
| |
| ResourcesCountLimit |
Defines if the pens and brushed are written into resources.
If ResourcesCountLimit is equal or less than 0 than resources are not used.
If ResourcesCountLimit is 1 than all pens and brushes are written to resources.
If ResourcesCountLimit is 2 (or higher) than all pens and brushes that are used 2 (or more) times are written to resources.
| |
| ResourcesPenKeyFormatString |
Format string used to format the Pen resource keys.
Default value is "Pen{0}"
| |
| ResourcesPenStartIndex |
Start index used with ResourcesPenKeyFormatString | |
| ResourcesSolidColorBrushKeyFormatString |
Format string used to format the SolidColorBrush resource keys.
Default value is "Brush{0}"
|