Input for WinForms | ComponentOne
C1.Win.Input.Base.Views Namespace / DropDownControlViewBase Class / GetDeviceDPI Method

In This Topic
    GetDeviceDPI Method (DropDownControlViewBase)
    In This Topic
    Gets the DPI value for the display device where the C1.Framework.Element.HostControl is currently being displayed.
    Syntax
    'Declaration
     
    
    Protected Function GetDeviceDPI() As Integer
    protected int GetDeviceDPI()
    Remarks
    Returns C1.Win.Util.DpiHelper.DEFAULT_DPI if has no C1.Framework.Element.HostControl.
    See Also