59 references to ProgressBarStyle
PresentationUI (1)
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
115this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
System.Windows.Forms (12)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (10)
30private ProgressBarStyle _style = ProgressBarStyle.Blocks; 54if (Style == ProgressBarStyle.Continuous) 58else if (Style == ProgressBarStyle.Marquee && !DesignMode) 113[DefaultValue(ProgressBarStyle.Blocks)] 116public ProgressBarStyle Style 131if (_style == ProgressBarStyle.Marquee) 251if (IsHandleCreated && _style == ProgressBarStyle.Marquee) 572if (Style == ProgressBarStyle.Marquee) 643if (Style == ProgressBarStyle.Marquee)
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (2)
184[DefaultValue(ProgressBarStyle.Blocks)] 187public ProgressBarStyle Style
System.Windows.Forms.Tests (46)
System\Windows\Forms\ProgressBarTests.cs (46)
92Assert.Equal(ProgressBarStyle.Blocks, control.Style); 126[InlineData(ProgressBarStyle.Blocks, true, 0x56010000)] 127[InlineData(ProgressBarStyle.Continuous, true, 0x56010001)] 128[InlineData(ProgressBarStyle.Marquee, true, 0x56010000)] 129[InlineData(ProgressBarStyle.Blocks, false, 0x56010000)] 130[InlineData(ProgressBarStyle.Continuous, false, 0x56010001)] 131[InlineData(ProgressBarStyle.Marquee, false, 0x56010008)] 132public void ProgressBar_CreateParams_GetStyle_ReturnsExpected(ProgressBarStyle style, bool designMode, int expectedStyle) 762foreach (ProgressBarStyle style in Enum.GetValues(typeof(ProgressBarStyle))) 773public void ProgressBar_MarqueeAnimationSpeed_Set_GetReturnsExpected(ProgressBarStyle style, int value) 791public void ProgressBar_MarqueeAnimationSpeed_SetDesignMode_GetReturnsExpected(ProgressBarStyle style, int value) 820public void ProgressBar_MarqueeAnimationSpeed_SetWithHandle_GetReturnsExpected(ProgressBarStyle style, int value) 852public void ProgressBar_MarqueeAnimationSpeed_SetWithHandleDesignMode_GetReturnsExpected(ProgressBarStyle style, int value) 1401[EnumData<ProgressBarStyle>] 1402public void ProgressBar_Style_Set_GetReturnsExpected(ProgressBarStyle value) 1418[EnumData<ProgressBarStyle>] 1419public void ProgressBar_Style_SetZeroMarqueeAnimationSpeed_GetReturnsExpected(ProgressBarStyle value) 1436[InlineData(ProgressBarStyle.Blocks, 0)] 1437[InlineData(ProgressBarStyle.Continuous, 1)] 1438[InlineData(ProgressBarStyle.Marquee, 1)] 1439public void ProgressBar_Style_SetWithHandle_GetReturnsExpected(ProgressBarStyle value, int expectedCreatedCallCount) 1467[InlineData(ProgressBarStyle.Blocks, 0)] 1468[InlineData(ProgressBarStyle.Continuous, 1)] 1469[InlineData(ProgressBarStyle.Marquee, 1)] 1470public void ProgressBar_Style_SetWithHandleZeroMarqueeAnimationSpeed_GetReturnsExpected(ProgressBarStyle value, int expectedCreatedCallCount) 1501[InvalidEnumData<ProgressBarStyle>] 1502public void ProgressBar_Style_SetInvalidValue_ThrowsInvalidEnumArgumentException(ProgressBarStyle value) 1835foreach (ProgressBarStyle style in new ProgressBarStyle[] { ProgressBarStyle.Blocks, ProgressBarStyle.Continuous }) 1850public void ProgressBar_Increment_Invoke_Success(ProgressBarStyle style, int originalValue, int value, int expectedValue) 1864public void ProgressBar_Increment_InvokeWithHandle_Success(ProgressBarStyle style, int originalValue, int value, int expectedValue) 1895Style = ProgressBarStyle.Marquee 2092foreach (ProgressBarStyle style in Enum.GetValues(typeof(ProgressBarStyle))) 2103public void ProgressBar_OnHandleCreated_Invoke_CallsHandleCreated(ProgressBarStyle style, EventArgs eventArgs) 2134public void ProgressBar_OnHandleCreated_InvokeWithHandle_CallsHandleCreated(ProgressBarStyle style, EventArgs eventArgs) 2488foreach (ProgressBarStyle style in new ProgressBarStyle[] { ProgressBarStyle.Blocks, ProgressBarStyle.Continuous }) 2503public void ProgressBar_PerformStep_Invoke_Success(ProgressBarStyle style, int originalValue, int step, int expectedValue) 2518public void ProgressBar_PerformStep_InvokeWithHandle_Success(ProgressBarStyle style, int originalValue, int step, int expectedValue) 2550Style = ProgressBarStyle.Marquee,