GetPreferredSize Method (LicenseDialog)
In This Topic
Syntax
'Declaration
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overridable Function GetPreferredSize( _
ByVal As System.Drawing.Size _
) As System.Drawing.Size
'Usage
Dim instance As LicenseDialog
Dim proposedSize As System.Drawing.Size
Dim value As System.Drawing.Size
value = instance.GetPreferredSize(proposedSize)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
public virtual System.Drawing.Size GetPreferredSize(
System.Drawing.Size
)
public function GetPreferredSize(
: System.Drawing.Size
): System.Drawing.Size; virtual;
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
public function GetPreferredSize(
: System.Drawing.Size
) : System.Drawing.Size;
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
public: virtual System.Drawing.Size GetPreferredSize(
System.Drawing.Size
)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
public:
virtual System.Drawing.Size GetPreferredSize(
System.Drawing.Size
)
Parameters
- proposedSize
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also