ComponentOne Basic Library for WPF and Silverlight
Distribution Property (C1HyperPanel)


C1.WPF Namespace > C1HyperPanel Class : Distribution Property
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 System.Double
'Usage
 
Dim instance As C1HyperPanel
Dim value As System.Double
 
instance.Distribution = value
 
value = instance.Distribution
public System.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

Reference

C1HyperPanel Class
C1HyperPanel Members