Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / DisplayRectangle Property


In This Topic
    DisplayRectangle Property
    In This Topic
    Gets the display rectangle of the SmartItem. The rectangle is in coordinates relative to the RootSmartControl.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    Public ReadOnly Property DisplayRectangle As Rectangle
    'Usage
     
    Dim instance As SmartItem
    Dim value As Rectangle
     
    value = instance.DisplayRectangle
    [Browsable(false)]
    public Rectangle DisplayRectangle {get;}

    Property Value

    A System.Drawing.Rectangle structure that represents the display rectangle of the SmartItem. The X and Y coordinates can be negative if the parent SmartControl is scrolled.
    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