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






Gets or sets the button size.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Button")>
Public Property ButtonSize As Double
Visual Basic (Usage)Copy Code
Dim instance As UXDock
Dim value As Double
 
instance.ButtonSize = value
 
value = instance.ButtonSize
C# 
[CategoryAttribute("Button")]
public double ButtonSize {get; set;}
Delphi 
public read-write property ButtonSize: Double; 
JScript 
CategoryAttribute("Button")
public function get,set ButtonSize : double
Managed Extensions for C++ 
[CategoryAttribute("Button")]
public: __property double get_ButtonSize();
public: __property void set_ButtonSize( 
   double value
);
C++/CLI 
[CategoryAttribute("Button")]
public:
property double ButtonSize {
   double get();
   void set (    double 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.