ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ListViewer Class / ViewportGap Property



In This Topic
    ViewportGap Property (C1ListViewer)
    In This Topic
    Gets or sets a coeficient which will determine in each layout pass the size of the viewport. If zero is specified the size of the viewport will be equal to the scrollviewer viewport. If 0.5 is specified the size of the viewport will be enlarged to take up half screen more at both sides of the original viewport.
    Syntax
    'Declaration
     
    
    Public Property ViewportGap As Double
    'Usage
     
    
    Dim instance As C1ListViewer
    Dim value As Double
     
    instance.ViewportGap = value
     
    value = instance.ViewportGap
    public double ViewportGap {get; set;}
    public:
    property double ViewportGap {
       double get();
       void set (    double value);
    }
    See Also