XAML Refactoring

Autogenerated by MFractor v3.6.7

Edit Color Declaration

Professional Only

Configuration Id: com.mfractor.code_actions.xaml.edit_color

Use the Edit Color code action to visually edit a color from your Xaml.

The Edit Color Declaration code actions allows visual editing of colors from your Xaml.

Simply right click on a Xaml node that is a System.Drawing.Color or Xamarin.Forms.Color and select Edit Color. Then you can use the color picker dialog to select a new color value:

Extract Attribute Value Into Property Binding

Professional Only

Configuration Id: com.mfractor.code_actions.xaml.extract_into_property_binding

When a Xaml attribute is initialised by a literal value (rather than an expression), this refactoring action allows a developer to extract that literal value as a property into the binding context and replace the attribute initialiser with a binding expression.

For example, given the attribute initialiser Text=\"Hello Xamarin.Forms!\", this refactoring would generate a user named property (EG: Message) in the binding context, initiliase it with the string literal \"Message\" and replace the attribute value with the binding expresion {Binding Message}.";

Uses:

Extract Resource Dictionary

Professional Only

Configuration Id: com.mfractor.code_actions.xaml.extract_resource_dictionary