TreeView for WinForms | ComponentOne
C1.Framework Namespace / ScrollableStackPanel Class / ScaleToDeviceDPI Method / ScaleToDeviceDPI(Style) Method
The style for scaling.

In This Topic
    ScaleToDeviceDPI(Style) Method
    In This Topic
    Scales the Style instance uses the DeviceDpi value if this element has a HostControl.
    Syntax
    'Declaration
     
    
    Protected Overloads Sub ScaleToDeviceDPI( _
       ByVal value As Style _
    ) 
    protected void ScaleToDeviceDPI( 
       Style value
    )

    Parameters

    value
    The style for scaling.
    Remarks
    This method doen't scale the Font property.
    See Also