UpDownBase.RescaleConstantsForDpi(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides constants for rescaling the control when a DPI change occurs.
protected:
override void RescaleConstantsForDpi(int deviceDpiOld, int deviceDpiNew);
protected override void RescaleConstantsForDpi (int deviceDpiOld, int deviceDpiNew);
override this.RescaleConstantsForDpi : int * int -> unit
Protected Overrides Sub RescaleConstantsForDpi (deviceDpiOld As Integer, deviceDpiNew As Integer)
Parameters
- deviceDpiOld
- Int32
The DPI value prior to the change.
- deviceDpiNew
- Int32
The DPI value after the change.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.