Share via


HostedWpfControl.OptimumSize Property

Definition

Gets the size the optimum size of the application’s window.

public:  virtual property System::Drawing::Size OptimumSize {  public:
System::Drawing::Size get(); protected:
 void set(System::Drawing::Size value); };
[System.ComponentModel.Browsable(false)]
public virtual System.Drawing.Size OptimumSize { get; protected set; }
[<System.ComponentModel.Browsable(false)>]
member this.OptimumSize : System.Drawing.Size with get, set
Public Overridable Property OptimumSize As Size

Property Value

Attributes

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.

Applies to