Xceed Workbooks for .NET v2.0 Documentation
CustomFormat Property (Style)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Style Class : CustomFormat Property
Gets or sets the format used to display the content of a Cell, the cells in a Column or the cells in a Row. The default is null. Setting this property will overwrite the  PredefinedNumberFormatId property. The formatting characters that can be used are explained here : https://www.ablebits.com/office-addins-blog/2016/07/07/custom-excel-number-format/.
Syntax
'Declaration
 
Public Property CustomFormat As String
'Usage
 
Dim instance As Style
Dim value As String
 
instance.CustomFormat = value
 
value = instance.CustomFormat
public string CustomFormat {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Style Class
Style Members