Defines whether pixel values defined by the application are scaled with the display DPI.
Class: SoftelvdmUserControl
Namespace: Softelvdm.SftTabsNET.Controls
Assembly: Softelvdm.SftTabsNET
public PixelScalingEnum PixelScaling { get; set; }
Public Property PixelScaling As PixelScalingEnumThe pixel scaling setting.
The default value is PixelScalingEnum.AsIs.
Defines whether pixel values defined by the application are scaled with the display DPI.
With PixelScalingEnum.Stretch, pixel values such as tab padding, margins, row indentation and button gaps are treated as values for 96 DPI and are scaled to match the DPI of the monitor showing the control (the DeviceDpi property). Properties return the values as they were set, so a form designed at one DPI looks the same at any DPI.
With PixelScalingEnum.AsIs, pixel values are used as defined, as in earlier versions.
See Also SoftelvdmUserControl Class | Classes | SftTabs/NET 3.0