dotnet / dotnet/dotnet-api-docs

Querying LargeChange returns a smaller value than previously set

Open
#1,733 0 comments 0 reactions 0 assignees View on GitHub
area-WinForms dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

from https://referencesource.microsoft.com/#System.Windows.Forms/winforms/Managed/System/WinForms/ScrollBar.cs:
public int LargeChange {
get {
// We preserve the actual large change value that has been set, but when we come to
// get the value of this property, make sure it's within the maximum allowable value.
// This way we ensure that we don't depend on the order of property sets when
// code is generated at design-time.
//
return Math.Min(largeChange, maximum - minimum + 1);
}

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 2b8c0f8e-8e12-27db-6170-11386439dc1e
* Version Independent ID: c2e5022b-e2a0-569e-2fb0-68af37b98a33
* Content: [ScrollBar.LargeChange Property (System.Windows.Forms)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.scrollbar.largechange?redirectedfrom=MSDN&view=netframework-4.7.2#System_Windows_Forms_ScrollBar_LargeChange)
* Content Source: [xml/System.Windows.Forms/ScrollBar.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Forms/ScrollBar.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.