---
Product: Aspose.Cells
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/net/StyleFlag
---

# StyleFlag

## Overview

`StyleFlag` is a class in Aspose.Cells FOSS for .NET.

Represents flags which indicate applied formatting properties.

## Description

`StyleFlag` is a class in the Aspose.Cells FOSS library for .NET that exposes 0 methods and 29 properties for programmatic use.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Alignments` | `bool` | Read/Write | Gets or sets the alignments. |
| `All` | `bool` | Read/Write | Gets or sets the all. |
| `Borders` | `bool` | Read/Write | Gets or sets the borders. |
| `BottomBorder` | `bool` | Read/Write | Gets or sets the bottom border. |
| `CellShading` | `bool` | Read/Write | Gets or sets the cell shading. |
| `DiagonalDownBorder` | `bool` | Read/Write | Gets or sets the diagonal down border. |
| `DiagonalUpBorder` | `bool` | Read/Write | Gets or sets the diagonal up border. |
| `Font` | `bool` | Read/Write | Gets or sets the font. |
| `FontBold` | `bool` | Read/Write | Gets or sets the font bold. |
| `FontColor` | `bool` | Read/Write | Gets or sets the font color. |
| `FontItalic` | `bool` | Read/Write | Gets or sets the font italic. |
| `FontName` | `bool` | Read/Write | Gets or sets the font name. |
| `FontSize` | `bool` | Read/Write | Gets or sets the font size. |
| `FontStrike` | `bool` | Read/Write | Gets or sets the font strike. |
| `FontUnderline` | `bool` | Read/Write | Gets or sets the font underline. |
| `HorizontalAlignment` | `bool` | Read/Write | Gets or sets the horizontal alignment. |
| `Hidden` | `bool` | Read/Write | Gets or sets the hidden. |
| `Indent` | `bool` | Read/Write | Gets or sets the indent. |
| `LeftBorder` | `bool` | Read/Write | Gets or sets the left border. |
| `Locked` | `bool` | Read/Write | Gets or sets the locked. |
| `NumberFormat` | `bool` | Read/Write | Gets or sets the number format. |
| `QuotePrefix` | `bool` | Read/Write | Gets or sets the quote prefix. |
| `RightBorder` | `bool` | Read/Write | Gets or sets the right border. |
| `Rotation` | `bool` | Read/Write | Gets or sets the rotation. |
| `ShrinkToFit` | `bool` | Read/Write | Gets or sets the shrink to fit. |
| `TextDirection` | `bool` | Read/Write | Gets or sets the text direction. |
| `TopBorder` | `bool` | Read/Write | Gets or sets the top border. |
| `VerticalAlignment` | `bool` | Read/Write | Gets or sets the vertical alignment. |
| `WrapText` | `bool` | Read/Write | Gets or sets the wrap text. |

## See Also

- [Aspose.Cells for .NET — Enterprise API Reference](https://reference.aspose.com/cells/net/)
- [Aspose.Cells for .NET — Enterprise API Reference](https://reference.aspose.com/cells/net/aspose.cells/styleflag/)