XAML
ReSharper | Options | Environment | Inlay Hints | XAML
Use this settings page to configure inlay hints in XAML.
tip
You can configure the color and font size of inlay hints — the font size can be set on the Environment | Inlay Hints | General page of ReSharper options (Alt+R, O), the font color — in Visual Studio options: go to Tools | Options | Environment | Fonts and Colors and find the ReSharper Inlay Hint in the list of display items.
This kind of hints shows implicit attribute names, for example:
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.
This kind of hints shows Thickness
values (in the arguments of Margin
, Padding
, and so on) to see the correspondence between arguments and values:
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.
This kind of hints shows parameter names for the CornerRadius
constructor, which is helpful when you use the constructor with 4 parameters to see which corners are TopLeft, TopRight, BottomLeft, BottomRight:
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.
This kind of hints shows missing Grid.Row
and Grid.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.
This kind of hints shows DataContext
types in bindings:
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 |