Class DisplayFormatAttribute
- Namespace
- Balsam
- Assembly
- Balsam.Backtester.dll
An attribute used to control formatting of properties for export.
[AttributeUsage(AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class DisplayFormatAttribute : Attribute
- Inheritance
-
DisplayFormatAttribute
- Inherited Members
- Extension Methods
Properties
DisplayName
Gets/sets the display name or header.
public string DisplayName { get; set; }
Property Value
ExcelFormat
Gets/sets the Excel number format string.
public string ExcelFormat { get; set; }
Property Value
StringFormat
Gets/sets the .NET format string.
public string StringFormat { get; set; }