Visual Basic (Declaration) | |
---|---|
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Public Overridable Function GetPreferredSize( _ ByVal proposedSize As Size _ ) As Size |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CredentialsDialog Dim proposedSize As Size Dim value As Size value = instance.GetPreferredSize(proposedSize) |
C# | |
---|---|
[EditorBrowsable(EditorBrowsableState.Advanced)] public virtual Size GetPreferredSize( Size proposedSize ) |
C++/CLI | |
---|---|
[EditorBrowsable(EditorBrowsableState.Advanced)] public: virtual Size GetPreferredSize( Size proposedSize ) |
Parameters
- proposedSize
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2