Intersoft ClientUI Documentation
ZoomEffect Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDock Namespace > UXDock Class : ZoomEffect Property






Gets or sets the zoom effect of UXDock.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Zoom Boundary")>
Public Property ZoomEffect As Integer
Visual Basic (Usage)Copy Code
Dim instance As UXDock
Dim value As Integer
 
instance.ZoomEffect = value
 
value = instance.ZoomEffect
C# 
[CategoryAttribute("Zoom Boundary")]
public int ZoomEffect {get; set;}
Delphi 
public read-write property ZoomEffect: Integer; 
JScript 
CategoryAttribute("Zoom Boundary")
public function get,set ZoomEffect : int
Managed Extensions for C++ 
[CategoryAttribute("Zoom Boundary")]
public: __property int get_ZoomEffect();
public: __property void set_ZoomEffect( 
   int value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.