# Style

undefined

## Content

Following are the breaking changes for Style.

## SheetView.Protect/Cell.Locked

When the new style system is used, as FpSpread.LegacyBehaviors doesn't contain LegacyBehaviors.Style, default values of the following properties for the newly created FpSpread instance will be changed:

1. `SheetView.Protect` will be set to false.
2. `Cell.Locked` will be set to true.

## DefaultStyle

When the new style system is used, setting DefaultStyle won't have any effect. For example,

```csharp
//Changing any properties of DefaultStyle won't have effect 
fpSpread1.ActiveSheet.DefaultStyle = new StyleInfo() {BackColor = Color.Red}; 
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.BackColor = Color.Yellow; 
fpSpread1.ActiveSheet.RowHEader.DefaultStyle.ForeColor =  Color.Blue; 
fpSpread1.ActiveSheet.RowHeader.DefaultStyle.HorizontalAlignment = CellHorizontalAlignment.Right; 
```