HostedControl.OptimumSize Property
The size that the applications's window will initially be if it is a floating window.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Usage
'Usage
Dim instance As HostedControl
Dim value As Size
value = instance.OptimumSize
instance.OptimumSize = value
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Overridable Property OptimumSize As Size
[BrowsableAttribute(false)]
public virtual Size OptimumSize { get; protected set; }
[BrowsableAttribute(false)]
public:
virtual property Size OptimumSize {
Size get ();
protected: void set (Size value);
}
/** @property */
public Size get_OptimumSize ()
/** @property */
protected void set_OptimumSize (Size value)
public function get OptimumSize () : Size
protected function set OptimumSize (value : Size)
Remarks
If a HostedControl is floating and there is no OptimumSize set, the size of the floating window will be determined by the drawn size of the hosted control.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
HostedControl Class
HostedControl Members
Microsoft.Uii.Csr Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.