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)
94Assert.Equal(ProgressBarStyle.Blocks, control.Style); 128[InlineData(ProgressBarStyle.Blocks, true, 0x56010000)] 129[InlineData(ProgressBarStyle.Continuous, true, 0x56010001)] 130[InlineData(ProgressBarStyle.Marquee, true, 0x56010000)] 131[InlineData(ProgressBarStyle.Blocks, false, 0x56010000)] 132[InlineData(ProgressBarStyle.Continuous, false, 0x56010001)] 133[InlineData(ProgressBarStyle.Marquee, false, 0x56010008)] 134public void ProgressBar_CreateParams_GetStyle_ReturnsExpected(ProgressBarStyle style, bool designMode, int expectedStyle) 764foreach (ProgressBarStyle style in Enum.GetValues(typeof(ProgressBarStyle))) 775public void ProgressBar_MarqueeAnimationSpeed_Set_GetReturnsExpected(ProgressBarStyle style, int value) 793public void ProgressBar_MarqueeAnimationSpeed_SetDesignMode_GetReturnsExpected(ProgressBarStyle style, int value) 822public void ProgressBar_MarqueeAnimationSpeed_SetWithHandle_GetReturnsExpected(ProgressBarStyle style, int value) 854public void ProgressBar_MarqueeAnimationSpeed_SetWithHandleDesignMode_GetReturnsExpected(ProgressBarStyle style, int value) 1403[EnumData<ProgressBarStyle>] 1404public void ProgressBar_Style_Set_GetReturnsExpected(ProgressBarStyle value) 1420[EnumData<ProgressBarStyle>] 1421public void ProgressBar_Style_SetZeroMarqueeAnimationSpeed_GetReturnsExpected(ProgressBarStyle value) 1438[InlineData(ProgressBarStyle.Blocks, 0)] 1439[InlineData(ProgressBarStyle.Continuous, 1)] 1440[InlineData(ProgressBarStyle.Marquee, 1)] 1441public void ProgressBar_Style_SetWithHandle_GetReturnsExpected(ProgressBarStyle value, int expectedCreatedCallCount) 1469[InlineData(ProgressBarStyle.Blocks, 0)] 1470[InlineData(ProgressBarStyle.Continuous, 1)] 1471[InlineData(ProgressBarStyle.Marquee, 1)] 1472public void ProgressBar_Style_SetWithHandleZeroMarqueeAnimationSpeed_GetReturnsExpected(ProgressBarStyle value, int expectedCreatedCallCount) 1503[InvalidEnumData<ProgressBarStyle>] 1504public void ProgressBar_Style_SetInvalidValue_ThrowsInvalidEnumArgumentException(ProgressBarStyle value) 1837foreach (ProgressBarStyle style in new ProgressBarStyle[] { ProgressBarStyle.Blocks, ProgressBarStyle.Continuous }) 1852public void ProgressBar_Increment_Invoke_Success(ProgressBarStyle style, int originalValue, int value, int expectedValue) 1866public void ProgressBar_Increment_InvokeWithHandle_Success(ProgressBarStyle style, int originalValue, int value, int expectedValue) 1897Style = ProgressBarStyle.Marquee 2094foreach (ProgressBarStyle style in Enum.GetValues(typeof(ProgressBarStyle))) 2105public void ProgressBar_OnHandleCreated_Invoke_CallsHandleCreated(ProgressBarStyle style, EventArgs eventArgs) 2136public void ProgressBar_OnHandleCreated_InvokeWithHandle_CallsHandleCreated(ProgressBarStyle style, EventArgs eventArgs) 2490foreach (ProgressBarStyle style in new ProgressBarStyle[] { ProgressBarStyle.Blocks, ProgressBarStyle.Continuous }) 2505public void ProgressBar_PerformStep_Invoke_Success(ProgressBarStyle style, int originalValue, int step, int expectedValue) 2520public void ProgressBar_PerformStep_InvokeWithHandle_Success(ProgressBarStyle style, int originalValue, int step, int expectedValue) 2552Style = ProgressBarStyle.Marquee,