59 references to ProgressBarStyle
PresentationUI (1)
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
115
this.progressBar1.Style = System.Windows.Forms.
ProgressBarStyle
.Marquee;
System.Windows.Forms (12)
System\Windows\Forms\Controls\ProgressBar\ProgressBar.cs (10)
30
private
ProgressBarStyle
_style =
ProgressBarStyle
.Blocks;
54
if (Style ==
ProgressBarStyle
.Continuous)
58
else if (Style ==
ProgressBarStyle
.Marquee && !DesignMode)
113
[DefaultValue(
ProgressBarStyle
.Blocks)]
116
public
ProgressBarStyle
Style
131
if (_style ==
ProgressBarStyle
.Marquee)
251
if (IsHandleCreated && _style ==
ProgressBarStyle
.Marquee)
572
if (Style ==
ProgressBarStyle
.Marquee)
643
if (Style ==
ProgressBarStyle
.Marquee)
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (2)
184
[DefaultValue(
ProgressBarStyle
.Blocks)]
187
public
ProgressBarStyle
Style
System.Windows.Forms.Tests (46)
System\Windows\Forms\ProgressBarTests.cs (46)
94
Assert.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)]
134
public void ProgressBar_CreateParams_GetStyle_ReturnsExpected(
ProgressBarStyle
style, bool designMode, int expectedStyle)
764
foreach (
ProgressBarStyle
style in Enum.GetValues(typeof(
ProgressBarStyle
)))
775
public void ProgressBar_MarqueeAnimationSpeed_Set_GetReturnsExpected(
ProgressBarStyle
style, int value)
793
public void ProgressBar_MarqueeAnimationSpeed_SetDesignMode_GetReturnsExpected(
ProgressBarStyle
style, int value)
822
public void ProgressBar_MarqueeAnimationSpeed_SetWithHandle_GetReturnsExpected(
ProgressBarStyle
style, int value)
854
public void ProgressBar_MarqueeAnimationSpeed_SetWithHandleDesignMode_GetReturnsExpected(
ProgressBarStyle
style, int value)
1403
[EnumData<
ProgressBarStyle
>]
1404
public void ProgressBar_Style_Set_GetReturnsExpected(
ProgressBarStyle
value)
1420
[EnumData<
ProgressBarStyle
>]
1421
public void ProgressBar_Style_SetZeroMarqueeAnimationSpeed_GetReturnsExpected(
ProgressBarStyle
value)
1438
[InlineData(
ProgressBarStyle
.Blocks, 0)]
1439
[InlineData(
ProgressBarStyle
.Continuous, 1)]
1440
[InlineData(
ProgressBarStyle
.Marquee, 1)]
1441
public void ProgressBar_Style_SetWithHandle_GetReturnsExpected(
ProgressBarStyle
value, int expectedCreatedCallCount)
1469
[InlineData(
ProgressBarStyle
.Blocks, 0)]
1470
[InlineData(
ProgressBarStyle
.Continuous, 1)]
1471
[InlineData(
ProgressBarStyle
.Marquee, 1)]
1472
public void ProgressBar_Style_SetWithHandleZeroMarqueeAnimationSpeed_GetReturnsExpected(
ProgressBarStyle
value, int expectedCreatedCallCount)
1503
[InvalidEnumData<
ProgressBarStyle
>]
1504
public void ProgressBar_Style_SetInvalidValue_ThrowsInvalidEnumArgumentException(
ProgressBarStyle
value)
1837
foreach (
ProgressBarStyle
style in new
ProgressBarStyle
[] {
ProgressBarStyle
.Blocks,
ProgressBarStyle
.Continuous })
1852
public void ProgressBar_Increment_Invoke_Success(
ProgressBarStyle
style, int originalValue, int value, int expectedValue)
1866
public void ProgressBar_Increment_InvokeWithHandle_Success(
ProgressBarStyle
style, int originalValue, int value, int expectedValue)
1897
Style =
ProgressBarStyle
.Marquee
2094
foreach (
ProgressBarStyle
style in Enum.GetValues(typeof(
ProgressBarStyle
)))
2105
public void ProgressBar_OnHandleCreated_Invoke_CallsHandleCreated(
ProgressBarStyle
style, EventArgs eventArgs)
2136
public void ProgressBar_OnHandleCreated_InvokeWithHandle_CallsHandleCreated(
ProgressBarStyle
style, EventArgs eventArgs)
2490
foreach (
ProgressBarStyle
style in new
ProgressBarStyle
[] {
ProgressBarStyle
.Blocks,
ProgressBarStyle
.Continuous })
2505
public void ProgressBar_PerformStep_Invoke_Success(
ProgressBarStyle
style, int originalValue, int step, int expectedValue)
2520
public void ProgressBar_PerformStep_InvokeWithHandle_Success(
ProgressBarStyle
style, int originalValue, int step, int expectedValue)
2552
Style =
ProgressBarStyle
.Marquee,