Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NBoxElement Class / DesiredWidth Property

In This Topic
    DesiredWidth Property (NBoxElement)
    In This Topic
    Gets the desired width of the element (in parent coordinates). Automatically updated by Nevron.
    Public ReadOnly Property DesiredWidth As System.Double
    Dim instance As NBoxElement
    Dim value As System.Double
    value = instance.DesiredWidth
    public System.double DesiredWidth {get;}
    The value of this property is automatically computed during the measure pass. It represents the width that this box wants to take inside its parent. Parents try to place boxes in slots that are large enough to encompass their desired size.

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also