Version

DpiUtilities Class Members

The following tables list the members exposed by DpiUtilities.

Public Constructors
 NameDescription
Public ConstructorDpiUtilities Constructor  
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)DpiAwarenessResolvedGets the resolved Dpi Awareness that Infragistics controls will use based on the Dpi Awareness of the application and the MaxInfragisticsDpiAwareness property.  
Public Propertystatic (Shared in Visual Basic)MaxInfragisticsDpiAwarenessGets or sets a value which limits the Dpi Awareness of Infragistics controls that support Dpi Scaling.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ConvertToScaledDpiOverloaded. Converts a value from Dpi-Unaware to the correct Dpi based on the DpiAwareness of the process and the scaling factor of the top level window containing the control.  
Public Methodstatic (Shared in Visual Basic)ConvertToScaledDpiRelativeToSystemDpiOverloaded. Converts a value from Dpi-Unaware to the correct Dpi based on the DpiAwareness of the process and the scaling factor of the top level window containing the control realtive to the system dpi scaling.  
Public Methodstatic (Shared in Visual Basic)ConvertToUnscaledDpiOverloaded. Converts a value from Dpi-Aware to the unscaled Dpi based on the DpiAwareness of the process and the scaling factor of the top level window containing the control.  
Public Methodstatic (Shared in Visual Basic)GetControlDpiReturns the correct (scaled) Dpi to use for drawing and metrics calcualtions when using Dpi scaling, based on the DpiAwareness of the process and the scaling factor of the top level window containing the control.  
Public Methodstatic (Shared in Visual Basic)GetControlDpiScalingFactorReturns the scaling factor for Dpi drawing and metrics calculations when using Dpi scaling, based on the DpiAwareness of the process and the scaling factor of the top level window containing the control.  
Public Methodstatic (Shared in Visual Basic)GetControlDpiScalingFactorRelativeToSystemDpiReturns the scaling factor for Dpi drawing and metrics calculations when using Dpi scaling, based on the DpiAwareness of the process and the scaling factor of the top level window containing the control realtive to the system Dpi. This is useful for cases where system metrics are already scaled to system Dpi, and you only want to adjust for the current monitor if needed.  
Public Methodstatic (Shared in Visual Basic)GetScreenDpiReturns the correct (scaled) Dpi to use for drawing and metrics calcualtions when using Dpi scaling, based on the DpiAwareness of the process and the scaling factor of the screen.  
Public Methodstatic (Shared in Visual Basic)GetSystemDpiReturns the correct (scaled) Dpi to use for drawing and metrics calcualtions when using Dpi scaling, based on the DpiAwareness of the process and the scaling factor of the primary monitor.  
Public Methodstatic (Shared in Visual Basic)GetSystemScaleFactorReturns the scaling factor for Dpi drawing and metrics calculations when using Dpi scaling, based on the DpiAwareness of the process and the scaling factor of the system (the main monitor).  
See Also