Intersoft ClientUI Documentation
ZoomEffect Property



Gets or sets the zoom effect of UXDock.
Syntax
<CategoryAttribute("Zoom Boundary")>
Public Property ZoomEffect As Integer
Dim instance As UXDock
Dim value As Integer
 
instance.ZoomEffect = value
 
value = instance.ZoomEffect
[CategoryAttribute("Zoom Boundary")]
public int ZoomEffect {get; set;}
[CategoryAttribute("Zoom Boundary")]
public:
property int ZoomEffect {
   int get();
   void set (    int value);
}
Remarks

Zooming Effect of UXDock is determined by the following properties.

  • ButtonSize
    Determines the initial size of the button.
  • MagnifiedSize
    Determines the maximum size when the button is zoomed.
  • ButtonMargin
    Determines the space between buttons.
  • ZoomEffect
    Determines the number of buttons affected by the zoom area mechanism.

MagnifiedSize should never have lower value than ButtonSize.

XAML
Copy Code
<Intersoft:UXDock ButtonSize="50" MagnifiedSize="125" ZoomEffect="2">
    <Intersoft:UXDockButton Text="Home" Icon="Home.png"/>
    <Intersoft:UXDockButton Text="Clock" Icon="Clock.png"/>
    <Intersoft:UXDockButton Text="Picture" Icon="Picture.png"/>
    <Intersoft:UXDockButton Text="Mail" Icon="Mail.png"/>
    <Intersoft:UXDockSeparator/>
    <Intersoft:UXDockButton Text="Document" Icon="Document.png" StackMode="GridStyle">
        <Intersoft:UXStackItem Text="Video" Icon="Video.png"/>
        <Intersoft:UXStackItem Text="Photo" Icon="Photo.png"/>
        <Intersoft:UXStackItem Text="Music" Icon="Mp3.png"/>
        <Intersoft:UXStackItem Text="Text" Icon="Text.png"/>
    </Intersoft:UXDockButton>
</Intersoft:UXDock>

There are also three types of ZoomBoundaryMode.

  • MinimumZoomScale
    The UXDock will start zooming when the cursor cross the minimum zoom scale boundary.
  • MaximumZoomScale
    The UXDock will start zooming when the cursor cross the maximum zoom scale boundary.
  • CustomZoomScale
    The UXDock will use the value in CustomZoomBoundary property as indicator when to start zooming.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXDock Class
UXDock Members

Concepts

UXDock

Send Feedback