- 2 minutes to read
Suggested Actions give you access to common properties of a control selected within the new WPF XAML Designer.
To use Suggested Actions, install Visual Studio 2019 Preview v16.8 or later.
.NET Core applications use the new WPF XAML Designer by default. For .NET Framework apps, enable the following option in Visual Studio:
Tools > Options > Preview Features > New WPF XAML Designer for .NET Framework (requires restart)
Use Suggested Actions
Select a control and click the "light bulb" to expand the Suggested Actions menu.
The Suggested Actions menu's title displays the selected control's class name. You can click this name to open a documentation article that describes the control.
The Suggested Actions menu includes three tabs:
- General - contains the most important properties of the selected control.
- Appearance - contains properties that allow you to change the selected control's appearance (for example, Background and Alignment).
- Behaviors - allows you to add Behaviors and Services to the selected control.
Suggested Actions do not allow you to invoke the following wizards: