public DenomTemplateColumnDefinition(string columnName, string displayMember, string headerName, DenomColumnDataType columnDataType = DenomColumnDataType.Text, string alignment = "left", string width = "auto", bool isEditable = false, bool calculationRequired = false, string formula = "", string calculationOn = "", bool totalRequired = false, string footerText = "", bool isReadOnly = false, bool isVisible = true, bool allowDecimal = false, bool allowNegativeValue = false, bool spinnerRequired = false, string seed = "1", int decimalPlaces = 0, bool currencySymbolRequired = false, CurrencySymbolPositionType currencySymbolPosition= CurrencySymbolPositionType.Header, BindingMode bindingType= BindingMode.OneWay)
 {
     this.ColumnName = columnName;
     this.DisplayMember = displayMember;
     this.Width = width;
     this.ColumnDataType = columnDataType;
     this.Alignment = alignment;
     this.HeaderName = headerName;
     this.IsEditable = isEditable;
     this.CalculationRequired = calculationRequired;
     this.Formula = formula;
     this.CalculationOn= calculationOn;
     this.TotalRequired = totalRequired;
     this.FooterText = footerText;
     this.IsReadOnly = isReadOnly;
     this.IsVisible = isVisible;
     this.AllowDecimal = allowDecimal;
     this.AllowNegativeValue = allowNegativeValue;
     this.SpinnerRequired = spinnerRequired;
     this.Seed = seed;
     this.DecimalPlaces = decimalPlaces;
     this.CurrencySymbolRequired = currencySymbolRequired;
     this.CurrencySymbolPosition = currencySymbolPosition;
     this.BindingType = bindingType;
 }
Пример #2
0
 public DenomTemplateColumnDefinition(string columnName, string displayMember, string headerName, DenomColumnDataType columnDataType = DenomColumnDataType.Text, string alignment = "left", string width = "auto", bool isEditable = false, bool calculationRequired = false, string formula = "", string calculationOn = "", bool totalRequired = false, string footerText = "", bool isReadOnly = false, bool isVisible = true, bool allowDecimal = false, bool allowNegativeValue = false, bool spinnerRequired = false, string seed = "1", int decimalPlaces = 0, bool currencySymbolRequired = false, CurrencySymbolPositionType currencySymbolPosition = CurrencySymbolPositionType.Header, BindingMode bindingType = BindingMode.OneWay)
 {
     this.ColumnName          = columnName;
     this.DisplayMember       = displayMember;
     this.Width               = width;
     this.ColumnDataType      = columnDataType;
     this.Alignment           = alignment;
     this.HeaderName          = headerName;
     this.IsEditable          = isEditable;
     this.CalculationRequired = calculationRequired;
     this.Formula             = formula;
     this.CalculationOn       = calculationOn;
     this.TotalRequired       = totalRequired;
     this.FooterText          = footerText;
     this.IsReadOnly          = isReadOnly;
     this.IsVisible           = isVisible;
     this.AllowDecimal        = allowDecimal;
     this.AllowNegativeValue  = allowNegativeValue;
     this.SpinnerRequired     = spinnerRequired;
     this.Seed                   = seed;
     this.DecimalPlaces          = decimalPlaces;
     this.CurrencySymbolRequired = currencySymbolRequired;
     this.CurrencySymbolPosition = currencySymbolPosition;
     this.BindingType            = bindingType;
 }