Base:
property
BackgroundImageLayout
System.Windows.Forms.Control.BackgroundImageLayout
7 writes to BackgroundImageLayout
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListBoxTests.cs (7)
539
BackgroundImageLayout
= value
545
control.
BackgroundImageLayout
= value;
564
control.
BackgroundImageLayout
= ImageLayout.Center;
569
control.
BackgroundImageLayout
= ImageLayout.Center;
574
control.
BackgroundImageLayout
= ImageLayout.Stretch;
580
control.
BackgroundImageLayout
= ImageLayout.Center;
590
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
BackgroundImageLayout
= value);
7 references to BackgroundImageLayout
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListBoxTests.cs (7)
31
Assert.Equal(ImageLayout.Tile, control.
BackgroundImageLayout
);
541
Assert.Equal(value, control.
BackgroundImageLayout
);
546
Assert.Equal(value, control.
BackgroundImageLayout
);
565
Assert.Equal(ImageLayout.Center, control.
BackgroundImageLayout
);
570
Assert.Equal(ImageLayout.Center, control.
BackgroundImageLayout
);
575
Assert.Equal(ImageLayout.Stretch, control.
BackgroundImageLayout
);
581
Assert.Equal(ImageLayout.Center, control.
BackgroundImageLayout
);