ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1HyperPanel Class / Distribution Property



In This Topic
    Distribution Property
    In This Topic
    Gets or sets a value between 0.1 and 1.0 that controls how much zooming should be applied to elements near the center.
    Syntax
    'Declaration
     
    
    Public Property Distribution As Double
    'Usage
     
    
    Dim instance As C1HyperPanel
    Dim value As Double
     
    instance.Distribution = value
     
    value = instance.Distribution
    public double Distribution {get; set;}
    public:
    property double Distribution {
       double get();
       void set (    double value);
    }
    Remarks

    Small values increase the zoom effect. Elements far from the mouse appear much smaller than elements near the mouse.

    Large values decrease the zoom effect. Elements far from the mouse appear only slightly smaller than elements near the mouse.

    You can limit the amount by which elements far from the mouse are zoomed out by setting the MinElementScale.For example, setting MinElementScale to 0.5 prevents any child elements from being reduced to less than half their original size.

    See Also