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