Input for WinForms | ComponentOne
C1.Win.Input Namespace / C1Label Class / PreferredWidth Property

In This Topic
    PreferredWidth Property
    In This Topic
    Gets the width of the control (in pixels), assuming a single line of text is displayed.
    Syntax
    'Declaration
     
    
    Public Overridable ReadOnly Property PreferredWidth As Integer
    public virtual int PreferredWidth {get;}
    See Also