27 references to DataGridViewImageCellLayout
System.Windows.Forms (27)
_generated\1\Validation.cs (2)
255public static void Validate(System.Windows.Forms.DataGridViewImageCellLayout enumToValidate, string parameterName = "value") 259ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.DataGridViewImageCellLayout));
System\Windows\Forms\Controls\DataGridView\DataGridViewImageCell.cs (20)
95[DefaultValue(DataGridViewImageCellLayout.NotSet)] 96public DataGridViewImageCellLayout ImageLayout 98get => Properties.GetValueOrDefault(s_propImageCellLayout, DataGridViewImageCellLayout.Normal); 105Properties.AddOrRemoveValue(s_propImageCellLayout, value, defaultValue: DataGridViewImageCellLayout.Normal); 111internal DataGridViewImageCellLayout ImageLayoutInternal 115Debug.Assert(value is >= DataGridViewImageCellLayout.NotSet and <= DataGridViewImageCellLayout.Zoom); 116Properties.AddOrRemoveValue(s_propImageCellLayout, value, defaultValue: DataGridViewImageCellLayout.Normal); 422ImageLayout == DataGridViewImageCellLayout.Zoom) 457ImageLayout == DataGridViewImageCellLayout.Zoom) 572DataGridViewImageCellLayout imageLayout, 576Debug.Assert(imageLayout != DataGridViewImageCellLayout.Stretch); 582case DataGridViewImageCellLayout.Normal: 583case DataGridViewImageCellLayout.NotSet: 586case DataGridViewImageCellLayout.Zoom: 799DataGridViewImageCellLayout imageLayout = ImageLayout; 800if (imageLayout == DataGridViewImageCellLayout.NotSet) 805Debug.Assert(imageLayout != DataGridViewImageCellLayout.NotSet); 809imageLayout = DataGridViewImageCellLayout.Normal; 813if (imageLayout == DataGridViewImageCellLayout.Stretch)
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (5)
133[DefaultValue(DataGridViewImageCellLayout.Normal)] 137public DataGridViewImageCellLayout ImageLayout 146DataGridViewImageCellLayout imageLayout = ImageCellTemplate.ImageLayout; 147if (imageLayout == DataGridViewImageCellLayout.NotSet) 149imageLayout = DataGridViewImageCellLayout.Normal;