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)
92
Assert.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)]
132
public void ProgressBar_CreateParams_GetStyle_ReturnsExpected(
ProgressBarStyle
style, bool designMode, int expectedStyle)
762
foreach (
ProgressBarStyle
style in Enum.GetValues(typeof(
ProgressBarStyle
)))
773
public void ProgressBar_MarqueeAnimationSpeed_Set_GetReturnsExpected(
ProgressBarStyle
style, int value)
791
public void ProgressBar_MarqueeAnimationSpeed_SetDesignMode_GetReturnsExpected(
ProgressBarStyle
style, int value)
820
public void ProgressBar_MarqueeAnimationSpeed_SetWithHandle_GetReturnsExpected(
ProgressBarStyle
style, int value)
852
public void ProgressBar_MarqueeAnimationSpeed_SetWithHandleDesignMode_GetReturnsExpected(
ProgressBarStyle
style, int value)
1401
[EnumData<
ProgressBarStyle
>]
1402
public void ProgressBar_Style_Set_GetReturnsExpected(
ProgressBarStyle
value)
1418
[EnumData<
ProgressBarStyle
>]
1419
public void ProgressBar_Style_SetZeroMarqueeAnimationSpeed_GetReturnsExpected(
ProgressBarStyle
value)
1436
[InlineData(
ProgressBarStyle
.Blocks, 0)]
1437
[InlineData(
ProgressBarStyle
.Continuous, 1)]
1438
[InlineData(
ProgressBarStyle
.Marquee, 1)]
1439
public void ProgressBar_Style_SetWithHandle_GetReturnsExpected(
ProgressBarStyle
value, int expectedCreatedCallCount)
1467
[InlineData(
ProgressBarStyle
.Blocks, 0)]
1468
[InlineData(
ProgressBarStyle
.Continuous, 1)]
1469
[InlineData(
ProgressBarStyle
.Marquee, 1)]
1470
public void ProgressBar_Style_SetWithHandleZeroMarqueeAnimationSpeed_GetReturnsExpected(
ProgressBarStyle
value, int expectedCreatedCallCount)
1501
[InvalidEnumData<
ProgressBarStyle
>]
1502
public void ProgressBar_Style_SetInvalidValue_ThrowsInvalidEnumArgumentException(
ProgressBarStyle
value)
1835
foreach (
ProgressBarStyle
style in new
ProgressBarStyle
[] {
ProgressBarStyle
.Blocks,
ProgressBarStyle
.Continuous })
1850
public void ProgressBar_Increment_Invoke_Success(
ProgressBarStyle
style, int originalValue, int value, int expectedValue)
1864
public void ProgressBar_Increment_InvokeWithHandle_Success(
ProgressBarStyle
style, int originalValue, int value, int expectedValue)
1895
Style =
ProgressBarStyle
.Marquee
2092
foreach (
ProgressBarStyle
style in Enum.GetValues(typeof(
ProgressBarStyle
)))
2103
public void ProgressBar_OnHandleCreated_Invoke_CallsHandleCreated(
ProgressBarStyle
style, EventArgs eventArgs)
2134
public void ProgressBar_OnHandleCreated_InvokeWithHandle_CallsHandleCreated(
ProgressBarStyle
style, EventArgs eventArgs)
2488
foreach (
ProgressBarStyle
style in new
ProgressBarStyle
[] {
ProgressBarStyle
.Blocks,
ProgressBarStyle
.Continuous })
2503
public void ProgressBar_PerformStep_Invoke_Success(
ProgressBarStyle
style, int originalValue, int step, int expectedValue)
2518
public void ProgressBar_PerformStep_InvokeWithHandle_Success(
ProgressBarStyle
style, int originalValue, int step, int expectedValue)
2550
Style =
ProgressBarStyle
.Marquee,