Defines whether pixel values defined by the application are scaled with the display DPI.
Class: SoftelvdmUserControl
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
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 column widths, the row header width, indentation, item heights, margins and the splitter position are treated as values for 96 DPI and are scaled to match the DPI of the monitor showing the control. 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 | SftTree/NET 3.0