Xceed SmartUI for WinForms v3.6 Documentation
IdealSize Property


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItem Class : IdealSize Property
Gets the size that would be ideal to paint the SmartItem.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
Public ReadOnly Property IdealSize As Size
'Usage
 
Dim instance As SmartItem
Dim value As Size
 
value = instance.IdealSize
[Browsable(false)]
public Size IdealSize {get;}

Property Value

A System.Drawing.Size structure representing the ideal size needed to paint the SmartItem.
Remarks

The IdealSize does not necessarily correspond to the actual size that the SmartItem will paint itself in. The layout associated to the parent SmartControl or SmartItem may decide to extend or reduce the SmartItem's ideal size.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SmartItem Class
SmartItem Members