ReSharper 2021.2 Help

XAML

ReSharper | Options | Environment | Inlay Hints | XAML

Use this settings page to configure inlay hints in XAML.

Implicit attribute names

This kind of hints shows implicit attribute names, for example:

ReSharper: Inlay hints in XAML for implicit attribute names

Use the Visibility selector to choose how inlay hints for implicit attribute names should be displayed in the editor: choose Default to apply the general visibility preference from the Environment | Inlay Hints | General page of ReSharper options, choose Show Always or Never Show to always show or hide hints, or choose Push-to-Hint to hide the hints by default but show them when you press and hold Ctrl.

Thickness argument

This kind of hints shows Thickness values (in the arguments of Margin, Padding, and so on) to see the correspondence between arguments and values:

ReSharper: Inlay hints in XAML for margins and padding

Use the Visibility selector to choose how inlay hints for margins and padding should be displayed in the editor: choose Default to apply the general visibility preference from the Environment | Inlay Hints | General page of ReSharper options, choose Show Always or Never Show to always show or hide hints, or choose Push-to-Hint to hide the hints by default but show them when you press and hold Ctrl.

CornerRadius argument

Use the Visibility selector to choose how inlay hints for CornerRadius arguments should be displayed in the editor: choose Default to apply the general visibility preference from the Environment | Inlay Hints | General page of ReSharper options, choose Show Always or Never Show to always show or hide hints, or choose Push-to-Hint to hide the hints by default but show them when you press and hold Ctrl.

Missing Grid.Row/Column

This kind of hints shows missing Grid.Row and Grid.Column attributes:

ReSharper: Inlay hints in XAML for missing Grid.Row/Column attributes

Use the Visibility selector to choose how inlay hints for missing Grid.Row/Column attributes should be displayed in the editor: choose Default to apply the general visibility preference from the Environment | Inlay Hints | General page of ReSharper options, choose Show Always or Never Show to always show or hide hints, or choose Push-to-Hint to hide the hints by default but show them when you press and hold Ctrl.

DataContext

This kind of hints shows DataContext types in bindings:

ReSharper: Inlay hints in XAML for DataContext
Visibility

Use the selector to choose how inlay hints for DataContext bindings should be displayed in the editor: choose Default to apply the general visibility preference from the Environment | Inlay Hints | General page of ReSharper options, choose Show Always or Never Show to always show or hide hints, or choose Push-to-Hint to hide the hints by default but show them when you press and hold Ctrl.

Show fully qualified names for DataContext attribute
Hide for template bindings if hint has been presented for parent binding element
Last modified: 10 March 2021