CellStyle Class Members

Summary

The following tables list the members exposed by CellStyle.

Public Methods

Name Description
Public Method Equals Overrides Objects.Equals.
Public Method GetCellBorder Retrieves the border style of a specific side of a cell within a sheet. Useful to access the styling details of cell borders, such as thickness and color.
Public Method GetDataFormatString Retrieves the data formatting string applied to a cell's content within a sheet.Enables access to the format specification, which dictates how the cell's data is visually represented.
Public Method SetCellBorder Sets the cell border style to a specified border with a customized type.
Public Method SetDataFormatString Applies a specific data format string to the cell's content that allows for the customization of how numeric values, dates, and other data types are displayed within a cell.

Public Properties

Name Description
Public Property BackgroundColor Gets or sets the background color of a cell within a sheet.
Public Property Font Gets or sets the font styling of a cell's content within a sheet.
Public Property HorizontalAlignment Gets or sets the horizontal alignment of the cell's content within a sheet to determine the positioning of its content along the horizontal axis within the boundaries.
Public Property VerticalAlignment Gets or sets the vertical alignment of the cell's content to determine the positioning of its content along the vertical axis within the boundaries.
Public Property WrapText Gets or sets the text wrapping behavior within the cell to allow control on text exceeding the cell's width.

See Also

CellStyle Class

Leadtools.Document.SheetEditor Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.SheetEditor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.