14 references to EnumValidator
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ButtonBase.cs (3)
382
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
663
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
689
if (!WindowsFormsUtils.
EnumValidator
.IsValidTextImageRelation(value)) {
winforms\Managed\System\WinForms\CheckBox.cs (1)
192
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
winforms\Managed\System\WinForms\Label.cs (2)
660
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
886
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
winforms\Managed\System\WinForms\MessageBox.cs (2)
424
if (!WindowsFormsUtils.
EnumValidator
.IsEnumWithinShiftedRange(icon, /*numBitsToShift*/4, /*min*/0x0,/*max*/0x4)) {
428
if (!WindowsFormsUtils.
EnumValidator
.IsEnumWithinShiftedRange(defaultButton, /*numBitsToShift*/8, /*min*/0x0,/*max*/0x2)) {
winforms\Managed\System\WinForms\RadioButton.cs (1)
187
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
winforms\Managed\System\WinForms\ToolStrip.cs (1)
2230
if (!WindowsFormsUtils.
EnumValidator
.IsValidArrowDirection(direction)) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
144
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
1218
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
2298
if (!WindowsFormsUtils.
EnumValidator
.IsValidContentAlignment(value)) {
2366
if (!WindowsFormsUtils.
EnumValidator
.IsValidTextImageRelation(value)) {