TreeView for WinForms | ComponentOne
C1.Framework Namespace / C1PolygonIcon Class / ViewBox Property

In This Topic
    ViewBox Property (C1PolygonIcon)
    In This Topic
    Gets or sets the rectangle which determines panning and zooming of content inside the parent container.
    Syntax
    'Declaration
     
    
    <DefaultValueAttribute(System.Drawing.Rectangle, "0,0,0,0")>
    Public Property ViewBox As Rectangle
    [DefaultValue(System.Drawing.Rectangle, "0,0,0,0")]
    public Rectangle ViewBox {get; set;}
    Remarks
    If this property is not set, then icon stretches according to the System.Drawing.Size property value.
    See Also