BCGControlBar Library for .NET
ContentRect Property




Gets the value indicating bounding rectangle of cell content.
Syntax
'Declaration
 
Public Overridable ReadOnly Property ContentRect As Rectangle
'Usage
 
Dim instance As Cell
Dim value As Rectangle
 
value = instance.ContentRect
public virtual Rectangle ContentRect {get;}
public: __property virtual Rectangle get_ContentRect();
public:
virtual property Rectangle ContentRect {
   Rectangle get();
}
Remarks
The default implementation calculates the rectangle as FullBounds minus Style.Padding and ExtraHeight. All drawing should not exceed the bounds of content.
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

Cell Class
Cell Members

Send Feedback