172 references to IsEnumValid
System.Windows.Forms (172)
winforms\Managed\System\WinForms\Application.cs (1)
771
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)VisualStyleState.NoneEnabled, (int)VisualStyleState.ClientAndNonClientAreasEnabled)
winforms\Managed\System\WinForms\Button.cs (2)
85
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoSizeMode.GrowAndShrink, (int)AutoSizeMode.GrowOnly)){
190
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DialogResult.None, (int) DialogResult.No)) {
winforms\Managed\System\WinForms\ButtonBase.cs (1)
284
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System)){
winforms\Managed\System\WinForms\CheckBox.cs (2)
117
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)Appearance.Normal, (int)Appearance.Button)){
257
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)CheckState.Unchecked, (int)CheckState.Indeterminate)){
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
302
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)SelectionMode.None, (int)SelectionMode.MultiExtended)){
995
if (!ClientUtils.
IsEnumValid
(value,(int)value, (int)CheckState.Unchecked, (int)CheckState.Indeterminate)){
1155
if (!ClientUtils.
IsEnumValid
(check, (int)check, (int)CheckState.Unchecked, (int)CheckState.Indeterminate)){
winforms\Managed\System\WinForms\Clipboard.cs (3)
350
if (!ClientUtils.
IsEnumValid
(format, (int)format, (int)TextDataFormat.Text, (int)TextDataFormat.CommaSeparatedValue)){
441
if (!ClientUtils.
IsEnumValid
(format, (int)format, (int)TextDataFormat.Text, (int)TextDataFormat.CommaSeparatedValue))
568
if (!ClientUtils.
IsEnumValid
(format, (int)format, (int)TextDataFormat.Text, (int)TextDataFormat.CommaSeparatedValue))
winforms\Managed\System\WinForms\ColumnHeader.cs (1)
337
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center)){
winforms\Managed\System\WinForms\ComboBox.cs (4)
193
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoCompleteMode.None, (int)AutoCompleteMode.SuggestAppend)) {
510
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DrawMode.Normal, (int)DrawMode.OwnerDrawVariable)) {
639
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System)) {
1236
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ComboBoxStyle.Simple, (int)ComboBoxStyle.DropDownList))
winforms\Managed\System\WinForms\ContainerControl.cs (1)
147
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoScaleMode.None, (int)AutoScaleMode.Inherit)){
winforms\Managed\System\WinForms\ContextMenu.cs (1)
128
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)){
winforms\Managed\System\WinForms\Control.cs (3)
766
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AccessibleRole.Default, (int)AccessibleRole.OutlineButton)) {
1202
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ImageLayout.None, (int)ImageLayout.Zoom)){
3763
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)){
winforms\Managed\System\WinForms\Control.Ime.cs (1)
279
if( !ClientUtils.
IsEnumValid
( value, (int) value, (int) ImeMode.Inherit, (int) ImeMode.OnHalf ) ) {
winforms\Managed\System\WinForms\DataGrid.cs (3)
556
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
1858
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridLineStyle.None, (int)DataGridLineStyle.Solid))
1897
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridParentRowsLabelStyle.None, (int)DataGridParentRowsLabelStyle.Both))
winforms\Managed\System\WinForms\DataGridColumn.cs (1)
121
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center)){
winforms\Managed\System\WinForms\DataGridTable.cs (1)
547
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridLineStyle.None, (int)DataGridLineStyle.Solid)) {
winforms\Managed\System\WinForms\DataGridView.cs (10)
1415
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
1583
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewCellBorderStyle.Custom, (int)DataGridViewCellBorderStyle.SunkenHorizontal))
1747
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewClipboardCopyMode.Disable, (int)DataGridViewClipboardCopyMode.EnableAlwaysIncludeHeaderText))
1852
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewHeaderBorderStyle.Custom, (int)DataGridViewHeaderBorderStyle.None))
2056
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewColumnHeadersHeightSizeMode.EnableResizing, (int)DataGridViewColumnHeadersHeightSizeMode.AutoSize))
2724
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewEditMode.EditOnEnter, (int)DataGridViewEditMode.EditProgrammatically))
4139
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewHeaderBorderStyle.Custom, (int)DataGridViewHeaderBorderStyle.None))
4396
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewRowHeadersWidthSizeMode.EnableResizing, (int)DataGridViewRowHeadersWidthSizeMode.AutoSizeToFirstHeader))
4569
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ScrollBars.None, (int)ScrollBars.Both))
4742
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewSelectionMode.CellSelect, (int)DataGridViewSelectionMode.ColumnHeaderSelect))
winforms\Managed\System\WinForms\DataGridViewAdvancedBorderStyle.cs (5)
65
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewAdvancedCellBorderStyle.NotSet, (int)DataGridViewAdvancedCellBorderStyle.OutsetPartial))
102
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewAdvancedCellBorderStyle.NotSet, (int)DataGridViewAdvancedCellBorderStyle.OutsetPartial))
153
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewAdvancedCellBorderStyle.NotSet, (int)DataGridViewAdvancedCellBorderStyle.OutsetPartial))
214
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewAdvancedCellBorderStyle.NotSet, (int)DataGridViewAdvancedCellBorderStyle.OutsetPartial))
266
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewAdvancedCellBorderStyle.NotSet, (int)DataGridViewAdvancedCellBorderStyle.OutsetPartial))
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
102
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System))
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (1)
573
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewTriState.NotSet, (int)DataGridViewTriState.False)){
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
291
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System))
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
82
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)SortOrder.None, (int)SortOrder.Descending))
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
322
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewComboBoxDisplayStyle.ComboBox, (int)DataGridViewComboBoxDisplayStyle.Nothing))
501
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System))
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
164
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DataGridViewImageCellLayout.NotSet, (int)DataGridViewImageCellLayout.Zoom))
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
154
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)LinkBehavior.SystemDefault, (int)LinkBehavior.NeverUnderline))
winforms\Managed\System\WinForms\DataObject.cs (3)
322
if (!ClientUtils.
IsEnumValid
(format, (int)format, (int)TextDataFormat.Text, (int)TextDataFormat.CommaSeparatedValue)){
372
if (!ClientUtils.
IsEnumValid
(format, (int)format, (int)TextDataFormat.Text, (int)TextDataFormat.CommaSeparatedValue)){
448
if (!ClientUtils.
IsEnumValid
(format, (int)format, (int)TextDataFormat.Text, (int)TextDataFormat.CommaSeparatedValue))
winforms\Managed\System\WinForms\DateTimePicker.cs (1)
579
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)LeftRightAlignment.Left, (int)LeftRightAlignment.Right)){
winforms\Managed\System\WinForms\ErrorProvider.cs (2)
155
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ErrorBlinkStyle.BlinkIfDifferentError, (int)ErrorBlinkStyle.NeverBlink)){
1466
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ErrorIconAlignment.TopLeft, (int)ErrorIconAlignment.BottomRight))
winforms\Managed\System\WinForms\Form.cs (6)
707
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoSizeMode.GrowAndShrink, (int)AutoSizeMode.GrowOnly)){
841
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FormBorderStyle.None, (int)FormBorderStyle.SizableToolWindow))
1219
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DialogResult.None, (int)DialogResult.No))
2405
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)SizeGripStyle.Auto, (int)SizeGripStyle.Hide))
2435
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FormStartPosition.Manual, (int)FormStartPosition.CenterParent))
2760
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FormWindowState.Normal, (int)FormWindowState.Maximized))
winforms\Managed\System\WinForms\GroupBox.cs (2)
131
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoSizeMode.GrowAndShrink, (int)AutoSizeMode.GrowOnly)){
236
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System))
winforms\Managed\System\WinForms\HelpProvider.cs (1)
300
if (!ClientUtils.
IsEnumValid
(navigator, (int)navigator, (int)HelpNavigator.Topic, (int)HelpNavigator.TopicId)){
winforms\Managed\System\WinForms\Label.cs (2)
287
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
415
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlatStyle.Flat, (int)FlatStyle.System))
winforms\Managed\System\WinForms\Layout\CommonProperties.cs (2)
526
Debug.Assert(ClientUtils.
IsEnumValid
(value, (int)value, (int)DockStyle.None, (int)DockStyle.Fill), "Illegal value returned form xGetDock.");
560
Debug.Assert(ClientUtils.
IsEnumValid
(value, (int)value, (int)DockStyle.None, (int)DockStyle.Fill), "Illegal value passed to xSetDock.");
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (1)
670
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DockStyle.None, (int)DockStyle.Fill)){
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (1)
293
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FlowDirection.LeftToRight, (int)FlowDirection.BottomUp)){
winforms\Managed\System\WinForms\LinkLabel.cs (2)
288
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)LinkBehavior.SystemDefault, (int)LinkBehavior.NeverUnderline)){
876
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DialogResult.None, (int)DialogResult.No))
winforms\Managed\System\WinForms\ListBox.cs (3)
272
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
438
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DrawMode.Normal, (int)DrawMode.OwnerDrawVariable))
1024
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)SelectionMode.None, (int)SelectionMode.MultiExtended))
winforms\Managed\System\WinForms\ListView.cs (8)
273
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ItemActivation.Standard, (int)ItemActivation.TwoClick)){
469
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D))
968
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ColumnHeaderStyle.None, (int)ColumnHeaderStyle.Clickable))
1492
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)SortOrder.None, (int)SortOrder.Descending))
1780
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)View.LargeIcon, (int)View.Tile))
3416
if (!ClientUtils.
IsEnumValid
(portion, (int)portion, (int)ItemBoundsPortion.Entire, (int)ItemBoundsPortion.ItemOnly)){
3509
if (!ClientUtils.
IsEnumValid
(portion, (int)portion, (int)ItemBoundsPortion.Entire, (int)ItemBoundsPortion.ItemOnly))
4922
if (!ClientUtils.
IsEnumValid
(headerAutoResize, (int)headerAutoResize, (int)ColumnHeaderAutoResizeStyle.None, (int)ColumnHeaderAutoResizeStyle.ColumnContent))
winforms\Managed\System\WinForms\ListViewGroup.cs (1)
134
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center)){
winforms\Managed\System\WinForms\MainMenu.cs (1)
105
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit)){
winforms\Managed\System\WinForms\MaskedTextBox.cs (4)
443
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)MaskFormat.ExcludePromptAndLiterals, (int)MaskFormat.IncludePromptAndLiterals))
568
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)InsertKeyMode.Default, (int)InsertKeyMode.Overwrite))
1416
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center))
1489
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)MaskFormat.ExcludePromptAndLiterals, (int)MaskFormat.IncludePromptAndLiterals))
winforms\Managed\System\WinForms\MenuItem.cs (1)
512
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)MenuMerge.Add, (int)MenuMerge.Remove)){
winforms\Managed\System\WinForms\MessageBox.cs (1)
419
if (!ClientUtils.
IsEnumValid
(buttons, (int)buttons, (int)MessageBoxButtons.OK, (int)MessageBoxButtons.RetryCancel)){
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
508
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)Day.Monday, (int)Day.Default)){
winforms\Managed\System\WinForms\NotifyIcon.cs (2)
139
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolTipIcon.None, (int)ToolTipIcon.Error)){
681
if (!ClientUtils.
IsEnumValid
(tipIcon, (int)tipIcon, (int)ToolTipIcon.None, (int)ToolTipIcon.Error)){
winforms\Managed\System\WinForms\Panel.cs (3)
103
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoSizeMode.GrowAndShrink, (int)AutoSizeMode.GrowOnly)){
140
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D))
307
return (ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)) ? (borderStyleType.ToString() + "." + value.ToString()) : "[Invalid BorderStyle]";
winforms\Managed\System\WinForms\PictureBox.cs (2)
167
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
967
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)PictureBoxSizeMode.Normal, (int)PictureBoxSizeMode.Zoom))
winforms\Managed\System\WinForms\ProgressBar.cs (1)
161
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ProgressBarStyle.Blocks, (int)ProgressBarStyle.Marquee)){
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1078
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)PropertySort.NoSort, (int)PropertySort.CategorizedAlphabetical)){
winforms\Managed\System\WinForms\RadioButton.cs (1)
131
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)Appearance.Normal, (int)Appearance.Button)){
winforms\Managed\System\WinForms\RichTextBox.cs (4)
855
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center))
2413
if (!ClientUtils.
IsEnumValid
(fileType, (int)fileType, (int)RichTextBoxStreamType.RichText, (int)RichTextBoxStreamType.UnicodePlainText)){
2432
if (!ClientUtils.
IsEnumValid
(fileType, (int)fileType, (int)RichTextBoxStreamType.RichText, (int)RichTextBoxStreamType.UnicodePlainText))
2764
if (!ClientUtils.
IsEnumValid
(fileType, (int)fileType, (int)RichTextBoxStreamType.RichText, (int)RichTextBoxStreamType.UnicodePlainText))
winforms\Managed\System\WinForms\SplitContainer.cs (3)
364
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
479
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)FixedPanel.None, (int)FixedPanel.Panel2)){
559
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)Orientation.Horizontal, (int)Orientation.Vertical)){
winforms\Managed\System\WinForms\Splitter.cs (1)
254
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
winforms\Managed\System\WinForms\StatusBarPanel.cs (4)
94
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center)){
125
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)StatusBarPanelAutoSize.None, (int)StatusBarPanelAutoSize.Contents)){
158
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)StatusBarPanelBorderStyle.None, (int)StatusBarPanelBorderStyle.Sunken)){
362
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)StatusBarPanelStyle.Text, (int)StatusBarPanelStyle.OwnerDraw)){
winforms\Managed\System\WinForms\TabControl.cs (4)
148
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TabAlignment.Top, (int)TabAlignment.Right)){
186
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TabAppearance.Normal, (int)TabAppearance.FlatButtons)){
465
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TabDrawMode.Normal, (int)TabDrawMode.OwnerDrawFixed)){
838
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TabSizeMode.Normal, (int)TabSizeMode.Fixed)){
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
81
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TableLayoutPanelCellBorderStyle.None, (int)TableLayoutPanelCellBorderStyle.OutsetPartial)){
198
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TableLayoutPanelGrowStyle.FixedSize, (int)TableLayoutPanelGrowStyle.AddColumns)){
winforms\Managed\System\WinForms\TextBox.cs (4)
151
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoCompleteMode.None, (int)AutoCompleteMode.SuggestAppend)){
268
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)CharacterCasing.Normal, (int)CharacterCasing.Lower)){
429
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ScrollBars.None, (int)ScrollBars.Both)){
498
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center)){
winforms\Managed\System\WinForms\TextBoxBase.cs (1)
398
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
winforms\Managed\System\WinForms\ToolBar.cs (4)
166
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolBarAppearance.Normal, (int)ToolBarAppearance.Flat)){
330
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D)){
525
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DockStyle.None, (int)DockStyle.Fill)){
933
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolBarTextAlign.Underneath, (int)ToolBarTextAlign.Right)) {
winforms\Managed\System\WinForms\ToolBarButton.cs (1)
358
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolBarButtonStyle.PushButton, (int)ToolBarButtonStyle.DropDownButton)){
winforms\Managed\System\WinForms\ToolStrip.cs (4)
942
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripGripStyle.Hidden, (int)ToolStripGripStyle.Visible)){
1351
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripLayoutStyle.StackWithOverflow, (int)ToolStripLayoutStyle.Table)){
1746
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripRenderMode.Custom, (int)ToolStripRenderMode.ManagerRenderMode)){
1886
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripTextDirection.Inherit, (int)ToolStripTextDirection.Vertical270)){
winforms\Managed\System\WinForms\ToolStripButton.cs (1)
131
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)CheckState.Unchecked, (int)CheckState.Indeterminate))
winforms\Managed\System\WinForms\ToolStripItem.cs (10)
322
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AccessibleRole.Default, (int)AccessibleRole.OutlineButton)){
348
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripItemAlignment.Left, (int)ToolStripItemAlignment.Right))
523
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ImageLayout.None, (int)ImageLayout.Zoom))
681
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)DockStyle.None, (int)DockStyle.Fill)){
770
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripItemDisplayStyle.None, (int)ToolStripItemDisplayStyle.ImageAndText))
1395
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripItemImageScaling.None, (int)ToolStripItemImageScaling.SizeToFit))
1553
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)MergeAction.Append, (int)MergeAction.MatchOnly))
1848
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripItemOverflow.Never, (int)ToolStripItemOverflow.AsNeeded))
2051
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)RightToLeft.No, (int)RightToLeft.Inherit))
2347
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripTextDirection.Inherit, (int)ToolStripTextDirection.Vertical270))
winforms\Managed\System\WinForms\ToolStripLabel.cs (1)
131
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)LinkBehavior.SystemDefault, (int)LinkBehavior.NeverUnderline))
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
543
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripManagerRenderMode.Custom, (int)ToolStripManagerRenderMode.Professional)) {
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
397
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)CheckState.Unchecked, (int)CheckState.Indeterminate))
winforms\Managed\System\WinForms\ToolStripRendererSwitcher.cs (1)
95
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolStripRenderMode.Custom, (int)ToolStripRenderMode.ManagerRenderMode))
winforms\Managed\System\WinForms\ToolTip.cs (1)
530
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)ToolTipIcon.None, (int)ToolTipIcon.Error))
winforms\Managed\System\WinForms\TrackBar.cs (2)
440
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)Orientation.Horizontal, (int)Orientation.Vertical))
627
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TickStyle.None, (int)TickStyle.Both))
winforms\Managed\System\WinForms\TreeView.cs (2)
297
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D))
921
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)TreeViewDrawMode.Normal, (int)TreeViewDrawMode.OwnerDrawAll))
winforms\Managed\System\WinForms\UpDownBase.cs (3)
289
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D))
629
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)HorizontalAlignment.Left, (int)HorizontalAlignment.Center))
666
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)LeftRightAlignment.Left, (int)LeftRightAlignment.Right))
winforms\Managed\System\WinForms\UserControl.cs (2)
100
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)AutoSizeMode.GrowAndShrink, (int)AutoSizeMode.GrowOnly))
176
if (!ClientUtils.
IsEnumValid
(value, (int)value, (int)BorderStyle.None, (int)BorderStyle.Fixed3D))
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (11)
597
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)BooleanProperty.Transparent, (int)BooleanProperty.SourceShrink)){
614
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)ColorProperty.BorderColor, (int)ColorProperty.AccentColorHint))
632
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)EnumProperty.BackgroundType, (int)EnumProperty.TrueSizeScalingType))
650
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)FilenameProperty.ImageFile, (int)FilenameProperty.GlyphImageFile))
675
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)FontProperty.GlyphFont, (int)FontProperty.GlyphFont))
721
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)IntegerProperty.ImageCount, (int)IntegerProperty.MinDpi5))
747
if (!ClientUtils.
IsEnumValid
(type, (int)type, (int)ThemeSizeType.Minimum, (int)ThemeSizeType.Draw)) {
780
if (!ClientUtils.
IsEnumValid
(type, (int)type, (int)ThemeSizeType.Minimum, (int)ThemeSizeType.Draw))
803
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)PointProperty.Offset, (int)PointProperty.MinSize5))
825
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)MarginProperty.SizingMargins, (int)MarginProperty.CaptionMargins))
849
if (!ClientUtils.
IsEnumValid
(prop, (int)prop, (int)StringProperty.Text, (int)StringProperty.Text))