The following tables list the members exposed by DpiUtilities.
Name | Description | |
---|---|---|
DpiUtilities Constructor |
Name | Description | |
---|---|---|
DpiAwarenessResolved | Gets the resolved Dpi Awareness that Infragistics controls will use based on the Dpi Awareness of the application and the MaxInfragisticsDpiAwareness property. | |
MaxInfragisticsDpiAwareness | Gets or sets a value which limits the Dpi Awareness of Infragistics controls that support Dpi Scaling. |
Name | Description | |
---|---|---|
ConvertToScaledDpi | Overloaded. 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. | |
ConvertToScaledDpiRelativeToSystemDpi | Overloaded. 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. | |
ConvertToUnscaledDpi | Overloaded. 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. | |
GetControlDpi | Returns 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. | |
GetControlDpiScalingFactor | Returns 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. | |
GetControlDpiScalingFactorRelativeToSystemDpi | Returns 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. | |
GetScreenDpi | Returns 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. | |
GetSystemDpi | Returns 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. | |
GetSystemScaleFactor | Returns 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). |