Compartilhar via


HostedWpfControl.OptimumSize Property

 

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

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)

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

Type: 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

HostedWpfControl Class
Microsoft.Uii.Csr.Aif.HostedApplication Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright