32 lines
694 B
C#
32 lines
694 B
C#
using System;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace CPF.ReoGrid.XML
|
|
{
|
|
public class RGXmlCellDataFormatArgs
|
|
{
|
|
public bool IsEmpty
|
|
{
|
|
get
|
|
{
|
|
return string.IsNullOrEmpty(this.decimalPlaces) && string.IsNullOrEmpty(this.useSeparator) && string.IsNullOrEmpty(this.pattern) && string.IsNullOrEmpty(this.culture) && string.IsNullOrEmpty(this.negativeStyle);
|
|
}
|
|
}
|
|
|
|
[XmlAttribute("decimal-places")]
|
|
public string decimalPlaces;
|
|
|
|
[XmlAttribute("use-separator")]
|
|
public string useSeparator;
|
|
|
|
[XmlAttribute("pattern")]
|
|
public string pattern;
|
|
|
|
[XmlAttribute("culture")]
|
|
public string culture;
|
|
|
|
[XmlAttribute("negative-style")]
|
|
public string negativeStyle;
|
|
}
|
|
}
|