Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / C1HyperPanel Class / Distribution Property

In This Topic
    Distribution Property (C1HyperPanel)
    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
    public double Distribution {get; set;}
    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