HostedControl.OptimumSize Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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)

Syntax

[BrowsableAttribute(false)]
public virtual Size OptimumSize { get; protected set; }
<BrowsableAttribute(False)>
Public Overridable Property OptimumSize As Size
    Get
    Protected Set
End Property

Property Value

Type: System.Drawing.Size

Implements

IHostedApplication.OptimumSize

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.

See Also

HostedControl Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright