61 references to FormBorderStyle
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Helpers\VBInputBox.vb (1)
73FormBorderStyle = FormBorderStyle.FixedDialog
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
150FormBorderStyle = FormBorderStyle.FixedDialog
PresentationUI (11)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
732this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
167this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
222FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
210FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
216this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
126this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
189this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
376this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
212FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
261FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
MS\Internal\Documents\SigningProgress.Designer.cs (1)
63FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
System.Windows.Forms (37)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
272FormBorderStyle = FormBorderStyle.FixedDialog;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
59FormBorderStyle = FormBorderStyle.None;
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
57FormBorderStyle = FormBorderStyle.FixedDialog;
System\Windows\Forms\Dialogs\ThreadExceptionDialog.cs (1)
240FormBorderStyle = FormBorderStyle.FixedDialog;
System\Windows\Forms\Form.cs (32)
181Debug.Assert(_formState[s_formStateBorderStyle] == (int)FormBorderStyle.Sizable, "Failed to set formState[FormStateBorderStyle]"); 656[DefaultValue(FormBorderStyle.Sizable)] 659public FormBorderStyle FormBorderStyle 661get => (FormBorderStyle)_formState[s_formStateBorderStyle]; 794FormBorderStyle borderStyle = FormBorderStyle; 795if (!ShowIcon && (borderStyle is FormBorderStyle.Sizable or FormBorderStyle.Fixed3D or FormBorderStyle.FixedSingle)) 2897FormBorderStyle borderStyle = FormBorderStyle; 2898bool sizableBorder = (borderStyle is FormBorderStyle.SizableToolWindow 2899or FormBorderStyle.Sizable); 3528if (FormBorderStyle != FormBorderStyle.None) 3582switch ((FormBorderStyle)_formState[s_formStateBorderStyle]) 3584case FormBorderStyle.None: 3586case FormBorderStyle.FixedSingle: 3589case FormBorderStyle.Sizable: 3592case FormBorderStyle.Fixed3D: 3596case FormBorderStyle.FixedDialog: 3600case FormBorderStyle.FixedToolWindow: 3604case FormBorderStyle.SizableToolWindow: 5241FormBorderStyle borderStyle = FormBorderStyle; 5242if (borderStyle != FormBorderStyle.None 5243&& borderStyle != FormBorderStyle.FixedToolWindow 5244&& borderStyle != FormBorderStyle.SizableToolWindow 5941case FormBorderStyle.None: 5942case FormBorderStyle.FixedSingle: 5943case FormBorderStyle.Fixed3D: 5944case FormBorderStyle.FixedDialog: 5945case FormBorderStyle.FixedToolWindow: 5948case FormBorderStyle.Sizable: 5949case FormBorderStyle.SizableToolWindow: 6341if ((FormBorderStyle == FormBorderStyle.FixedDialog && _formState[s_formStateIconSet] == 0) || !ShowIcon)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
170public new FormBorderStyle FormBorderStyle
System.Windows.Forms.Design (6)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
286FormBorderStyle = FormBorderStyle.FixedDialog;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (1)
25FormBorderStyle = FormBorderStyle.None;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
459FormBorderStyle = FormBorderStyle.FixedDialog;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
241FormBorderStyle = FormBorderStyle.FixedDialog;
System\Windows\Forms\Design\FormatStringDialog.cs (1)
209FormBorderStyle = FormBorderStyle.FixedDialog;
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
283FormBorderStyle = FormBorderStyle.FixedDialog;
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
95Assert.Equal(FormBorderStyle.FixedDialog, control.FormBorderStyle);
System\Windows\Forms\FormTests.cs (1)
97Assert.Equal(FormBorderStyle.Sizable, control.FormBorderStyle);
WinFormsControlsTest (3)
FormBorderStyles.cs (2)
24if (currentBorderStyle > (int)FormBorderStyle.SizableToolWindow) 29FormBorderStyle = (FormBorderStyle)currentBorderStyle;
RichTextBoxes.cs (1)
123FormBorderStyle = FormBorderStyle.FixedDialog,