XamRight Settings

XamRight logo

Settings

Tools > Options > XamRight > Settings gives the ability to customize how you want to use XamRight.

The link at the top, Show product overview tour, can walk you through XamRight features in case you missed some when you first installed it. The table below is a short guide to the options shown on the page.

Enable XamRightAllows XamRight to be temporarily disabled. After using XamRight for a while, turn it off to see what it was like before!
Xaml Binding, Style, and markup warningsDiagnoses bugs in Xaml markup: incorrect view model properties, syntax errors, invalid Style, and more
General reliability and code correctnessFinds bugs in interactions between C# and Xaml code, such as event definitions
Layout usage guidanceDetailed best practice guidance to optimize your use of page layout attributes on Xaml elements
Light and Dark Mode ThemingIdentifies poor color contrast when switching between Light and Dark mode
AccessibilityFinds opportunities to improve accessibility (a11y) of your app using appropriate Xaml features
Verbose informational/advisory warningsIdentifies warnings that are typically harmless, but rarely causes subtle, difficult to find bugs
Use design-time BindingContext/DataContextAn incorrectly declared design-time context will cause bugs at runtime, even though everything is fine in VS. This allows you to ensure contexts are correct without looking at design-type assertions.
Prefer MVVM style codeWhen refactoring your code, controls if the default is to prefer code-behind C# or view model C#.

Other XamRight settings pages allow you to create hotkey mappings for your favorite XamRight commands, or to provide customization for refactorings.