51 references to Properties
System.Windows.Forms (51)
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (51)
96int alignment = this.Properties.GetInteger(PropAlignment, out found); 135this.Properties.SetInteger(PropAlignment, (int) value); 149return this.Properties.GetColor(PropBackColor); 154if (!value.IsEmpty || this.Properties.ContainsObject(PropBackColor)) 156this.Properties.SetColor(PropBackColor, value); 175if (this.Properties.ContainsObject(PropDataSourceNullValue)) 177return this.Properties.GetObject(PropDataSourceNullValue); 192this.Properties.ContainsObject(PropDataSourceNullValue)) 194this.Properties.RemoveObject(PropDataSourceNullValue); 198this.Properties.SetObject(PropDataSourceNullValue, value); 217return (Font) this.Properties.GetObject(PropFont); 222if (value != null || this.Properties.ContainsObject(PropFont)) 224this.Properties.SetObject(PropFont, value); 243return this.Properties.GetColor(PropForeColor); 248if (!value.IsEmpty || this.Properties.ContainsObject(PropForeColor)) 250this.Properties.SetColor(PropForeColor, value); 270object format = this.Properties.GetObject(PropFormat); 283if ((value != null && value.Length > 0) || this.Properties.ContainsObject(PropFormat)) 285this.Properties.SetObject(PropFormat, value); 303object formatProvider = this.Properties.GetObject(PropFormatProvider); 315object originalFormatProvider = this.Properties.GetObject(PropFormatProvider); 316this.Properties.SetObject(PropFormatProvider, value); 333if (!this.Properties.ContainsObject(PropDataSourceNullValue)) 337return this.Properties.GetObject(PropDataSourceNullValue) == System.DBNull.Value; 350return this.Properties.GetObject(PropFormatProvider) == null; 363if (!this.Properties.ContainsObject(PropNullValue)) 367object nullValue = this.Properties.GetObject(PropNullValue); 382if (this.Properties.ContainsObject(PropNullValue)) 384return this.Properties.GetObject(PropNullValue); 400this.Properties.ContainsObject(PropNullValue)) 402this.Properties.RemoveObject(PropNullValue); 406this.Properties.SetObject(PropNullValue, value); 425return this.Properties.GetPadding(PropPadding); 458this.Properties.SetPadding(PropPadding, value); 492return this.Properties.GetColor(PropSelectionBackColor); 497if (!value.IsEmpty || this.Properties.ContainsObject(PropSelectionBackColor)) 499this.Properties.SetColor(PropSelectionBackColor, value); 516return this.Properties.GetColor(PropSelectionForeColor); 521if (!value.IsEmpty || this.Properties.ContainsObject(PropSelectionForeColor)) 523this.Properties.SetColor(PropSelectionForeColor, value); 541return Properties.GetObject(PropTag); 545if (value != null || this.Properties.ContainsObject(PropTag)) 547Properties.SetObject(PropTag, value); 563int wrap = this.Properties.GetInteger(PropWrapMode, out found); 587this.Properties.SetInteger(PropWrapMode, (int) value); 781this.Properties.GetColor(PropBackColor, out found); 786return this.Properties.GetObject(PropFont) != null; 791this.Properties.GetColor(PropForeColor, out found); 796return this.Properties.GetObject(PropFormatProvider) != null; 805this.Properties.GetObject(PropSelectionBackColor, out found); 811this.Properties.GetColor(PropSelectionForeColor, out found);