HostedWpfControl.OptimumSize Property
Gets the size the optimum size of the application’s window.
Namespace: Microsoft.Uii.Csr.Aif.HostedApplication
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Usage
'Usage
Dim instance As HostedWpfControl
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)
Property Value
Type: 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
HostedWpfControl Class
HostedWpfControl Members
Microsoft.Uii.Csr.Aif.HostedApplication Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.