162 writes to
PresentationBuildTasks (22)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (22)
903
_flags
[
_pinnedFlagSection] = value;
1321
_flags
[
_assemblyIdLowSection] = (short) (value & 0xff);
1322
_flags
[
_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8);
1571
_flags
[
_sharedSection] = value ? 1 : 0;
1585
_flags
[
_sharedSetSection] = value ? 1 : 0;
1738
_flags
[
_sharedSection] = value ? 1 : 0;
1752
_flags
[
_sharedSetSection] = value ? 1 : 0;
2413
set { _flags
[
_isValueTypeExtensionSection] = value ? 1 : 0; }
2420
set { _flags
[
_isValueStaticExtensionSection] = value ? 1 : 0; }
3248
_flags
[
_typeIdLowSection] = (short) (value & 0xff);
3249
_flags
[
_typeIdHighSection] = (short) ((value & 0xff00) >> 8);
3263
_flags
[
_useTypeConverter] = value ? 1 : 0;
3277
_flags
[
_isInjected] = value ? 1 : 0;
3645
set { _flags
[
_isValueTypeExtensionSection] = value ? 1 : 0; }
3652
set { _flags
[
_isValueStaticExtensionSection] = value ? 1 : 0; }
4205
_flags
[
_assemblyIdLowSection] = (short) (value & 0xff);
4206
_flags
[
_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8);
4333
_flags
[
_typeIdLowSection] = (short) (value & 0xff);
4334
_flags
[
_typeIdHighSection] = (short) ((value & 0xff00) >> 8);
4901
_flags
[
_attributeUsageSection] = (int) value;
5007
_flags
[
_stringIdLowSection] = (short) (value & 0xff);
5008
_flags
[
_stringIdHighSection] = (short) ((value & 0xff00) >> 8);
PresentationFramework (26)
System\Windows\Markup\BamlRecords.cs (26)
903
_flags
[
_pinnedFlagSection] = value;
1321
_flags
[
_assemblyIdLowSection] = (short) (value & 0xff);
1322
_flags
[
_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8);
1571
_flags
[
_sharedSection] = value ? 1 : 0;
1585
_flags
[
_sharedSetSection] = value ? 1 : 0;
1738
_flags
[
_sharedSection] = value ? 1 : 0;
1752
_flags
[
_sharedSetSection] = value ? 1 : 0;
2413
set { _flags
[
_isValueTypeExtensionSection] = value ? 1 : 0; }
2420
set { _flags
[
_isValueStaticExtensionSection] = value ? 1 : 0; }
2853
set { _flags
[
_isValueSetSection] = value ? 1 : 0; }
2859
set { _flags
[
_isValueTypeIdSection] = value ? 1 : 0; }
2867
set { _flags
[
_isRawEnumValueSetSection] = value ? 1 : 0; }
3248
_flags
[
_typeIdLowSection] = (short) (value & 0xff);
3249
_flags
[
_typeIdHighSection] = (short) ((value & 0xff00) >> 8);
3263
_flags
[
_useTypeConverter] = value ? 1 : 0;
3277
_flags
[
_isInjected] = value ? 1 : 0;
3645
set { _flags
[
_isValueTypeExtensionSection] = value ? 1 : 0; }
3652
set { _flags
[
_isValueStaticExtensionSection] = value ? 1 : 0; }
4205
_flags
[
_assemblyIdLowSection] = (short) (value & 0xff);
4206
_flags
[
_assemblyIdHighSection] = (short) ((value & 0xff00) >> 8);
4333
_flags
[
_typeIdLowSection] = (short) (value & 0xff);
4334
_flags
[
_typeIdHighSection] = (short) ((value & 0xff00) >> 8);
4885
_flags
[
_isInternalSection] = value ? 1 : 0;
4901
_flags
[
_attributeUsageSection] = (int) value;
5007
_flags
[
_stringIdLowSection] = (short) (value & 0xff);
5008
_flags
[
_stringIdHighSection] = (short) ((value & 0xff00) >> 8);
System.Windows.Forms (114)
System\Windows\Forms\Controls\Labels\Label.cs (9)
79
_labelState
[
s_stateFlatStyle] = (int)FlatStyle.Standard;
80
_labelState
[
s_stateUseMnemonic] = 1;
81
_labelState
[
s_stateBorderStyle] = (int)BorderStyle.None;
141
_labelState
[
s_stateAutoEllipsis] = value ? 1 : 0;
217
_labelState
[
s_stateBorderStyle] = (int)value;
336
_labelState
[
s_stateFlatStyle] = (int)value;
781
_labelState
[
s_stateUseMnemonic] = value ? 1 : 0;
862
_labelState
[
s_stateAnimating] = animate ? 1 : 0;
867
_labelState
[
s_stateAnimating] = animate ? 1 : 0;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (6)
669
_state
[
s_stateImageMaskSet] = (value == ImageList.Indexer.DefaultIndex ? 0 : 1);
672
_state
[
s_savedStateImageIndexSection] = value + 1;
740
_state
[
s_stateImageMaskSet] = (value == ImageList.Indexer.DefaultIndex ? 0 : 1);
757
set => _state
[
s_stateSelectedSection] = value ? 1 : 0;
766
set => _state
[
s_subItemCountSection] = value;
859
set => _state
[
s_stateWholeRowOneStyleSection] = value ? 1 : 0;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (14)
101
_richTextBoxFlags
[
s_autoWordSelectionSection] = 0; // This is false by default
122
_richTextBoxFlags
[
s_allowOleDropSection] = value ? 1 : 0;
132
_richTextBoxFlags
[
s_allowOleObjectsSection] = value ? 1 : 0;
166
_richTextBoxFlags
[
s_autoWordSelectionSection] = value ? 1 : 0;
239
set => _richTextBoxFlags
[
s_callOnContentsResizedSection] = value ? 1 : 0;
340
_richTextBoxFlags
[
s_autoUrlDetectSection] = value ? 1 : 0;
364
_richTextBoxFlags
[
s_enableAutoDragDropSection] = value ? 1 : 0;
452
set => _richTextBoxFlags
[
s_fInCtorSection] = value ? 1 : 0;
483
set => _richTextBoxFlags
[
s_linkcursorSection] = value ? 1 : 0;
503
set => _richTextBoxFlags
[
s_protectedErrorSection] = value ? 1 : 0;
547
_richTextBoxFlags
[
s_richTextShortcutsEnabledSection] = value ? 1 : 0;
647
_richTextBoxFlags
[
s_scrollBarsSection] = (int)value;
1290
_richTextBoxFlags
[
s_showSelBarSection] = value ? 1 : 0;
1369
_richTextBoxFlags
[
s_suppressTextChangedEventSection] = value ? 1 : 0;
System\Windows\Forms\Form.cs (77)
204
_formStateEx
[
s_formStateExShowIcon] = 1;
255
_formState
[
s_formStateIsActive] = value ? 1 : 0;
259
_formState
[
s_formStateIsWindowActivated] = 1;
277
_formState
[
s_formStateIsWindowActivated] = 0;
361
_formState
[
s_formStateAllowTransparency] = value ? 1 : 0;
363
_formState
[
s_formStateLayered] = _formState[s_formStateAllowTransparency];
400
_formStateEx
[
s_formStateExSettingAutoScale] = 1;
405
_formState
[
s_formStateAutoScaling] = 1;
414
_formState
[
s_formStateAutoScaling] = 0;
419
_formStateEx
[
s_formStateExSettingAutoScale] = 0;
495
_formStateEx
[
s_formStateExAutoSize] = value ? 1 : 0;
608
_formStateEx
[
s_formStateExCalledClosing] = (value ? 1 : 0);
620
_formStateEx
[
s_formStateExCalledCreateControl] = (value ? 1 : 0);
632
_formStateEx
[
s_formStateExCalledMakeVisible] = (value ? 1 : 0);
644
_formStateEx
[
s_formStateExCalledOnLoad] = (value ? 1 : 0);
662
_formState
[
s_formStateBorderStyle] = (int)value;
697
_formStateEx
[
s_formStateExWindowBoundsWidthIsClientSize] = preWindowBoundsWidthIsClientSize;
698
_formStateEx
[
s_formStateExWindowBoundsHeightIsClientSize] = preWindowBoundsHeightIsClientSize;
745
_formState
[
s_formStateControlBox] = value ? 1 : 0;
806
_formState
[
s_formStateWindowState] = (int)FormWindowState.Maximized;
828
_formState
[
s_formStateShowWindowOnCreate] = 1;
833
_formState
[
s_formStateShowWindowOnCreate] = 0;
971
_formState
[
s_formStateHelpButton] = 1;
975
_formState
[
s_formStateHelpButton] = 0;
1022
_formState
[
s_formStateIconSet] = value is null ? 0 : 1;
1044
_formStateEx
[
s_formStateExWindowClosing] = value ? 1 : 0;
1137
set => _formState
[
s_formStateKeyPreview] = value ? 1 : 0;
1394
_formState
[
s_formStateMaximizeBox] = value ? 1 : 0;
1542
_formState
[
s_formStateMinimizeBox] = value ? 1 : 0;
1580
_formState
[
s_formStateLayered] = 1;
1589
_formState
[
s_formStateLayered] = (TransparencyKey != Color.Empty) ? 1 : 0;
1816
_formState
[
s_formStateTaskBar] = value ? 1 : 0;
1839
_formStateEx
[
s_formStateExShowIcon] = value ? 1 : 0;
1932
_formState
[
s_formStateSizeGripStyle] = (int)value;
1956
_formState
[
s_formStateStartPos] = (int)value;
2072
_formState
[
s_formStateTopMost] = value ? 1 : 0;
2093
_formState
[
s_formStateLayered] = 1;
2097
_formState
[
s_formStateLayered] = (OpacityAsByte < 255) ? 1 : 0;
2575
_formState
[
s_formStateWindowState] = (int)value;
3090
_formState
[
s_formStateSetClientSize] = 0;
3372
_formState
[
s_formStateWindowState] = (int)FormWindowState.Normal;
3373
_formState
[
s_formStateMdiChildMax] = 1;
3375
_formState
[
s_formStateWindowState] = (int)FormWindowState.Maximized;
3376
_formState
[
s_formStateMdiChildMax] = 0;
4190
_formStateEx
[
s_formStateExUseMdiChildProc] = (IsMdiChild && Visible) ? 1 : 0;
4223
_formStateEx
[
s_formStateExUseMdiChildProc] = 0;
4283
_formState
[
s_formStateAutoScaling] = 0;
4677
_formState
[
s_formStateIsTextEmpty] = newTextEmpty;
4791
_formStateEx
[
s_formStateExMnemonicProcessed] = 1;
4798
_formStateEx
[
s_formStateExMnemonicProcessed] = 0;
5023
_formState
[
s_formStateIconSet] = 0;
5090
_formStateEx
[
s_formStateExWindowBoundsHeightIsClientSize] = 0;
5091
_formStateEx
[
s_formStateExWindowBoundsWidthIsClientSize] = 0;
5108
_formStateEx
[
s_formStateExUpdateMenuHandlesSuspendCount] = --suspendCount;
5220
_formStateEx
[
s_formStateExInScale] = 1;
5233
_formStateEx
[
s_formStateExInScale] = 0;
5264
_formStateEx
[
s_formStateExWindowBoundsWidthIsClientSize] = 0;
5270
_formStateEx
[
s_formStateExWindowBoundsHeightIsClientSize] = 0;
5386
_formState
[
s_formStateSetClientSize] = 1;
6019
_formStateEx
[
s_formStateExUpdateMenuHandlesSuspendCount] = ++suspendCount;
6045
_formState
[
s_formStateRenderSizeGrip] = 0;
6052
_formState
[
s_formStateRenderSizeGrip] = 1;
6055
_formState
[
s_formStateRenderSizeGrip] = 0;
6060
_formState
[
s_formStateRenderSizeGrip] = 1;
6064
_formState
[
s_formStateRenderSizeGrip] = 0;
6231
_formStateEx
[
s_formStateExUpdateMenuHandlesDeferred] = 0;
6315
_formStateEx
[
s_formStateExInUpdateMdiControlStrip] = 1;
6368
_formStateEx
[
s_formStateExInUpdateMdiControlStrip] = 0;
6525
_formState
[
s_formStateWindowState] = (int)FormWindowState.Normal;
6532
_formState
[
s_formStateWindowState] = (int)FormWindowState.Maximized;
6541
_formState
[
s_formStateWindowState] = (int)FormWindowState.Minimized;
6562
_formStateEx
[
s_formStateExWindowBoundsWidthIsClientSize] = 1;
6563
_formStateEx
[
s_formStateExWindowBoundsHeightIsClientSize] = 1;
6635
_formStateEx
[
s_formStateExInModalSizingLoop] = 1;
6644
_formStateEx
[
s_formStateExInModalSizingLoop] = 0;
7043
_formState
[
s_formStateSWCalled] = 1;
7075
_formStateEx
[
s_formStateExInModalSizingLoop] = 1;
System\Windows\Forms\Layout\CommonProperties.cs (8)
170
state
[
s_autoSizeSection] = value ? 1 : 0;
487
state
[
s_autoSizeModeSection] = mode == AutoSizeMode.GrowAndShrink ? 1 : 0;
522
state
[
s_selfAutoSizingSection] = value ? 1 : 0;
594
state
[
s_dockAndAnchorSection] = (int)xTranslateAnchorValue(value);
595
state
[
s_dockModeSection] = (int)DockAnchorMode.Anchor;
613
state
[
s_dockAndAnchorSection] = (int)value; // See xTranslateAnchorValue for why this works with Dock.None.
614
state
[
s_dockModeSection] = (int)(value == DockStyle.None ? DockAnchorMode.Anchor : DockAnchorMode.Dock);
655
state
[
s_flowBreakSection] = value ? 1 : 0;
188 references to
PresentationBuildTasks (22)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlRecords.cs (22)
897
return _flags
[
_pinnedFlagSection];
1313
short value = (short) _flags
[
_assemblyIdLowSection];
1314
value |= (short) (_flags
[
_assemblyIdHighSection] << 8);
1566
return _flags
[
_sharedSection] == 1 ? true : false;
1580
return _flags
[
_sharedSetSection] == 1 ? true : false;
1733
return _flags
[
_sharedSection] == 1 ? true : false;
1747
return _flags
[
_sharedSetSection] == 1 ? true : false;
2412
get { return _flags
[
_isValueTypeExtensionSection] == 1 ? true : false; }
2419
get { return _flags
[
_isValueStaticExtensionSection] == 1 ? true : false; }
3240
short value = (short) _flags
[
_typeIdLowSection];
3241
value |= (short) (_flags
[
_typeIdHighSection] << 8);
3258
return _flags
[
_useTypeConverter] == 1 ? true : false;
3272
return _flags
[
_isInjected] == 1 ? true : false;
3644
get { return _flags
[
_isValueTypeExtensionSection] == 1 ? true : false; }
3651
get { return _flags
[
_isValueStaticExtensionSection] == 1 ? true : false; }
4197
short value = (short) _flags
[
_assemblyIdLowSection];
4198
value |= (short) (_flags
[
_assemblyIdHighSection] << 8);
4325
short value = (short) _flags
[
_typeIdLowSection];
4326
value |= (short) (_flags
[
_typeIdHighSection] << 8);
4896
return (BamlAttributeUsage) _flags
[
_attributeUsageSection];
4999
short value = (short) _flags
[
_stringIdLowSection];
5000
value |= (short) (_flags
[
_stringIdHighSection] << 8);
PresentationFramework (26)
System\Windows\Markup\BamlRecords.cs (26)
897
return _flags
[
_pinnedFlagSection];
1313
short value = (short) _flags
[
_assemblyIdLowSection];
1314
value |= (short) (_flags
[
_assemblyIdHighSection] << 8);
1566
return _flags
[
_sharedSection] == 1 ? true : false;
1580
return _flags
[
_sharedSetSection] == 1 ? true : false;
1733
return _flags
[
_sharedSection] == 1 ? true : false;
1747
return _flags
[
_sharedSetSection] == 1 ? true : false;
2412
get { return _flags
[
_isValueTypeExtensionSection] == 1 ? true : false; }
2419
get { return _flags
[
_isValueStaticExtensionSection] == 1 ? true : false; }
2852
get { return _flags
[
_isValueSetSection] == 1 ? true : false; }
2858
get { return _flags
[
_isValueTypeIdSection] == 1 ? true : false; }
2866
get { return _flags
[
_isRawEnumValueSetSection] == 1 ? true : false; }
3240
short value = (short) _flags
[
_typeIdLowSection];
3241
value |= (short) (_flags
[
_typeIdHighSection] << 8);
3258
return _flags
[
_useTypeConverter] == 1 ? true : false;
3272
return _flags
[
_isInjected] == 1 ? true : false;
3644
get { return _flags
[
_isValueTypeExtensionSection] == 1 ? true : false; }
3651
get { return _flags
[
_isValueStaticExtensionSection] == 1 ? true : false; }
4197
short value = (short) _flags
[
_assemblyIdLowSection];
4198
value |= (short) (_flags
[
_assemblyIdHighSection] << 8);
4325
short value = (short) _flags
[
_typeIdLowSection];
4326
value |= (short) (_flags
[
_typeIdHighSection] << 8);
4880
return _flags
[
_isInternalSection] == 1 ? true : false;
4896
return (BamlAttributeUsage) _flags
[
_attributeUsageSection];
4999
short value = (short) _flags
[
_stringIdLowSection];
5000
value |= (short) (_flags
[
_stringIdHighSection] << 8);
System.Windows.Forms (140)
System\Windows\Forms\Controls\Labels\Label.cs (7)
133
get => _labelState
[
s_stateAutoEllipsis] != 0;
210
get => (BorderStyle)_labelState
[
s_stateBorderStyle];
323
get => (FlatStyle)_labelState
[
s_stateFlatStyle];
329
if (_labelState
[
s_stateFlatStyle] == (int)value)
334
bool needRecreate = (_labelState
[
s_stateFlatStyle] == (int)FlatStyle.System) || (value == FlatStyle.System);
773
get => _labelState
[
s_stateUseMnemonic] != 0;
853
bool currentlyAnimating = _labelState
[
s_stateAnimating] != 0;
System\Windows\Forms\Controls\ListView\ListViewItem.cs (5)
664
return _state
[
s_savedStateImageIndexSection] - 1;
749
internal bool StateImageSet => (_state
[
s_stateImageMaskSet] != 0);
756
get => _state
[
s_stateSelectedSection] == 1;
765
get => _state
[
s_subItemCountSection];
858
get => _state
[
s_stateWholeRowOneStyleSection] == 1;
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (13)
119
get => _richTextBoxFlags
[
s_allowOleDropSection] != 0;
129
get => _richTextBoxFlags
[
s_allowOleObjectsSection] != 0;
163
get => _richTextBoxFlags
[
s_autoWordSelectionSection] != 0;
238
get => _richTextBoxFlags
[
s_callOnContentsResizedSection] != 0;
335
get => _richTextBoxFlags
[
s_autoUrlDetectSection] != 0;
361
get => _richTextBoxFlags
[
s_enableAutoDragDropSection] != 0;
451
get => _richTextBoxFlags
[
s_fInCtorSection] != 0;
482
get => _richTextBoxFlags
[
s_linkcursorSection] != 0;
502
get => _richTextBoxFlags
[
s_protectedErrorSection] != 0;
542
get => _richTextBoxFlags
[
s_richTextShortcutsEnabledSection] != 0;
638
get => (RichTextBoxScrollBars)_richTextBoxFlags
[
s_scrollBarsSection];
1285
get { return _richTextBoxFlags
[
s_showSelBarSection] != 0; }
1363
get { return _richTextBoxFlags
[
s_suppressTextChangedEventSection] != 0; }
System\Windows\Forms\Form.cs (100)
180
Debug.Assert(_formState
[
s_formStateAllowTransparency] == 0, "Failed to set formState[FormStateAllowTransparency]");
181
Debug.Assert(_formState
[
s_formStateBorderStyle] == (int)FormBorderStyle.Sizable, "Failed to set formState[FormStateBorderStyle]");
182
Debug.Assert(_formState
[
s_formStateTaskBar] == 1, "Failed to set formState[FormStateTaskBar]");
183
Debug.Assert(_formState
[
s_formStateControlBox] == 1, "Failed to set formState[FormStateControlBox]");
184
Debug.Assert(_formState
[
s_formStateKeyPreview] == 0, "Failed to set formState[FormStateKeyPreview]");
185
Debug.Assert(_formState
[
s_formStateLayered] == 0, "Failed to set formState[FormStateLayered]");
186
Debug.Assert(_formState
[
s_formStateMaximizeBox] == 1, "Failed to set formState[FormStateMaximizeBox]");
187
Debug.Assert(_formState
[
s_formStateMinimizeBox] == 1, "Failed to set formState[FormStateMinimizeBox]");
188
Debug.Assert(_formState
[
s_formStateHelpButton] == 0, "Failed to set formState[FormStateHelpButton]");
189
Debug.Assert(_formState
[
s_formStateStartPos] == (int)FormStartPosition.WindowsDefaultLocation, "Failed to set formState[FormStateStartPos]");
190
Debug.Assert(_formState
[
s_formStateWindowState] == (int)FormWindowState.Normal, "Failed to set formState[FormStateWindowState]");
191
Debug.Assert(_formState
[
s_formStateShowWindowOnCreate] == 0, "Failed to set formState[FormStateShowWindowOnCreate]");
192
Debug.Assert(_formState
[
s_formStateAutoScaling] == 1, "Failed to set formState[FormStateAutoScaling]");
193
Debug.Assert(_formState
[
s_formStateSetClientSize] == 0, "Failed to set formState[FormStateSetClientSize]");
194
Debug.Assert(_formState
[
s_formStateTopMost] == 0, "Failed to set formState[FormStateTopMost]");
195
Debug.Assert(_formState
[
s_formStateSWCalled] == 0, "Failed to set formState[FormStateSWCalled]");
196
Debug.Assert(_formState
[
s_formStateMdiChildMax] == 0, "Failed to set formState[FormStateMdiChildMax]");
197
Debug.Assert(_formState
[
s_formStateRenderSizeGrip] == 0, "Failed to set formState[FormStateRenderSizeGrip]");
198
Debug.Assert(_formState
[
s_formStateSizeGripStyle] == 0, "Failed to set formState[FormStateSizeGripStyle]");
199
Debug.Assert(_formState
[
s_formStateIsWindowActivated] == 0, "Failed to set formState[FormStateIsWindowActivated]");
200
Debug.Assert(_formState
[
s_formStateIsTextEmpty] == 0, "Failed to set formState[FormStateIsTextEmpty]");
201
Debug.Assert(_formState
[
s_formStateIsActive] == 0, "Failed to set formState[FormStateIsActive]");
202
Debug.Assert(_formState
[
s_formStateIconSet] == 0, "Failed to set formState[FormStateIconSet]");
238
return _formState
[
s_formStateIsActive] != 0;
245
if (_formState
[
s_formStateIsActive] != 0 == value)
353
get => _formState
[
s_formStateAllowTransparency] != 0;
356
if (value == (_formState
[
s_formStateAllowTransparency] != 0))
363
_formState[s_formStateLayered] = _formState
[
s_formStateAllowTransparency];
396
return _formState
[
s_formStateAutoScaling] != 0;
490
get { return _formStateEx
[
s_formStateExAutoSize] != 0; }
604
return _formStateEx
[
s_formStateExCalledClosing] != 0;
616
return _formStateEx
[
s_formStateExCalledCreateControl] != 0;
628
return _formStateEx
[
s_formStateExCalledMakeVisible] != 0;
640
return _formStateEx
[
s_formStateExCalledOnLoad] != 0;
657
get => (FormBorderStyle)_formState
[
s_formStateBorderStyle];
663
if (_formState
[
s_formStateSetClientSize] == 1 && !IsHandleCreated)
679
int preWindowBoundsWidthIsClientSize = _formStateEx
[
s_formStateExWindowBoundsWidthIsClientSize];
680
int preWindowBoundsHeightIsClientSize = _formStateEx
[
s_formStateExWindowBoundsHeightIsClientSize];
687
if (_formState
[
s_formStateIconSet] == 0)
742
get => _formState
[
s_formStateControlBox] != 0;
771
if (TopLevel && (_formState
[
s_formStateLayered] != 0))
785
if (_formState
[
s_formStateTaskBar] != 0)
811
if (_formState
[
s_formStateMdiChildMax] != 0)
964
return _formState
[
s_formStateHelpButton] != 0;
1003
if (_formState
[
s_formStateIconSet] == 0)
1040
return _formStateEx
[
s_formStateExWindowClosing] == 1;
1054
return (WindowState == FormWindowState.Maximized || (IsMdiChild && (_formState
[
s_formStateMdiChildMax] == 1)));
1136
get => _formState
[
s_formStateKeyPreview] != 0;
1391
get => _formState
[
s_formStateMaximizeBox] != 0;
1539
get => _formState
[
s_formStateMinimizeBox] != 0;
1573
bool oldLayered = _formState
[
s_formStateLayered] != 0;
1578
if (_formState
[
s_formStateLayered] != 1)
1590
if (oldLayered != (_formState
[
s_formStateLayered] != 0))
1811
get => _formState
[
s_formStateTaskBar] != 0;
1836
get => _formStateEx
[
s_formStateExShowIcon] != 0;
1921
return (SizeGripStyle)_formState
[
s_formStateSizeGripStyle];
1950
return (FormStartPosition)_formState
[
s_formStateStartPos];
2060
get => _formState
[
s_formStateTopMost] != 0;
2089
bool oldLayered = (_formState
[
s_formStateLayered] == 1);
2100
if (oldLayered != (_formState
[
s_formStateLayered] != 0))
2115
FormStartPosition startPos = (FormStartPosition)_formState
[
s_formStateStartPos];
2182
if (_formState
[
s_formStateSWCalled] == 0)
2540
get => (FormWindowState)_formState
[
s_formStateWindowState];
3067
if ((FormWindowState)_formState
[
s_formStateWindowState] != FormWindowState.Normal
3087
if (_formState
[
s_formStateSetClientSize] != 0)
3368
&& (FormWindowState)_formState
[
s_formStateWindowState] == FormWindowState.Maximized)
3388
if ((FormStartPosition)_formState
[
s_formStateStartPos] != FormStartPosition.WindowsDefaultBounds)
3393
if (_formState
[
s_formStateShowWindowOnCreate] == 1)
3418
if (_formState
[
s_formStateTopMost] != 0)
3498
else if (_formStateEx
[
s_formStateExUseMdiChildProc] != 0)
3633
switch ((FormBorderStyle)_formState
[
s_formStateBorderStyle])
3667
if (_formState
[
s_formStateSetClientSize] != 0)
3676
switch ((FormStartPosition)_formState
[
s_formStateStartPos])
3742
switch ((FormWindowState)_formState
[
s_formStateWindowState])
3841
(_formStateEx
[
s_formStateExMnemonicProcessed] == 1
4001
if (_formStateEx
[
s_formStateExSettingAutoScale] != 1)
4280
if (_formState
[
s_formStateAutoScaling] == 1 && !DesignMode)
4441
if (_formState
[
s_formStateRenderSizeGrip] != 0)
4483
if (_formState
[
s_formStateRenderSizeGrip] != 0)
4672
if (!ControlBox && _formState
[
s_formStateIsTextEmpty] != newTextEmpty)
4808
if (_formState
[
s_formStateKeyPreview] != 0 && ProcessKeyEventArgs(ref m))
5062
if (_formState
[
s_formStateWindowState] == (int)FormWindowState.Minimized)
5085
_formStateEx
[
s_formStateExWindowBoundsWidthIsClientSize] == 1 ? restoredSize.Width : _restoredWindowBounds.Width,
5086
_formStateEx
[
s_formStateExWindowBoundsHeightIsClientSize] == 1 ? restoredSize.Height : _restoredWindowBounds.Height,
5102
int suspendCount = _formStateEx
[
s_formStateExUpdateMenuHandlesSuspendCount];
5109
if (suspendCount == 0 && _formStateEx
[
s_formStateExUpdateMenuHandlesDeferred] != 0)
5952
return _formState
[
s_formStateAutoScaling] != 0;
5965
return _formState
[
s_formStateIconSet] == 1;
6007
if (_formState
[
s_formStateWindowState] != (int)FormWindowState.Minimized)
6018
int suspendCount = _formStateEx
[
s_formStateExUpdateMenuHandlesSuspendCount];
6037
int current = _formState
[
s_formStateRenderSizeGrip];
6073
if (_formState
[
s_formStateRenderSizeGrip] != current)
6139
if ((_formState
[
s_formStateLayered] != 0) && IsHandleCreated && TopLevel)
6309
if (_formStateEx
[
s_formStateExInUpdateMdiControlStrip] != 0)
6445
if ((FormBorderStyle == FormBorderStyle.FixedDialog && _formState
[
s_formStateIconSet] == 0) || !ShowIcon)
6523
if (_formState
[
s_formStateWindowState] != (int)FormWindowState.Normal)
6530
if (_formState
[
s_formStateMdiChildMax] == 0)
6539
if (_formState
[
s_formStateMdiChildMax] == 0)
6866
Size minTrack = (AutoSize && _formStateEx
[
s_formStateExInModalSizingLoop] == 1) ? LayoutUtils.UnionSizes(_minAutoSize, MinimumSize) : MinimumSize;
7003
if (_formState
[
s_formStateRenderSizeGrip] != 0)
System\Windows\Forms\Layout\CommonProperties.cs (15)
70
int value = state
[
s_autoSizeSection];
410
return state
[
s_autoSizeModeSection] == 0 ? AutoSizeMode.GrowOnly : AutoSizeMode.GrowAndShrink;
421
bool result = state
[
s_dockAndAnchorNeedsLayoutSection] != 0;
439
bool result = (state
[
s_dockAndAnchorNeedsLayoutSection] != 0) && (state
[
s_dockModeSection] == (int)DockAnchorMode.Anchor);
456
bool result = state
[
s_dockModeSection] == (int)DockAnchorMode.Dock && element.ParticipatesInLayout;
474
int value = state
[
s_selfAutoSizingSection];
535
AnchorStyles value = (AnchorStyles)state
[
s_dockAndAnchorSection];
536
DockAnchorMode mode = (DockAnchorMode)state
[
s_dockModeSection];
553
if (state
[
s_selfAutoSizingSection] != 0)
558
bool result = (state
[
s_autoSizeSection] != 0) && (state
[
s_dockModeSection] == (int)DockAnchorMode.Anchor);
571
DockStyle value = (DockStyle)state
[
s_dockAndAnchorSection];
572
DockAnchorMode mode = (DockAnchorMode)state
[
s_dockModeSection];
643
int value = state
[
s_flowBreakSection];