Intersoft ClientUI Documentation
StackTotalDisplayItem Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXStackMenu Namespace > UXStackButton Class : StackTotalDisplayItem Property






Gets or sets a value that determines the total number of sub items that will be visible when stack mode is set to ArcStyle and the stack menu is collapsed.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Stack")>
Public Property StackTotalDisplayItem As Integer
Visual Basic (Usage)Copy Code
Dim instance As UXStackButton
Dim value As Integer
 
instance.StackTotalDisplayItem = value
 
value = instance.StackTotalDisplayItem
C# 
[CategoryAttribute("Stack")]
public int StackTotalDisplayItem {get; set;}
Delphi 
public read-write property StackTotalDisplayItem: Integer; 
JScript 
CategoryAttribute("Stack")
public function get,set StackTotalDisplayItem : int
Managed Extensions for C++ 
[CategoryAttribute("Stack")]
public: __property int get_StackTotalDisplayItem();
public: __property void set_StackTotalDisplayItem( 
   int value
);
C++/CLI 
[CategoryAttribute("Stack")]
public:
property int StackTotalDisplayItem {
   int get();
   void set (    int value);
}

Example

The following example shows how to display the stack items to represent the UXStackButton.

Example Title Copy Code
<Intersoft:UXStackButton Content="Button" HorizontalAlignment="Center" Height="64" VerticalAlignment="Bottom" Width="64" StackTotalDisplayItem="3">
        <Intersoft:UXStackItem Icon="twitter.png" Text="Twitter"/>
        <Intersoft:UXStackItem Icon="facebook.png" Text="Facebook"/>
        <Intersoft:UXStackItem Icon="digg.png" Text="Digg"/>
        <Intersoft:UXStackItem Icon="delicious.png" Text="Delicious"/>
        <Intersoft:UXStackItem Icon="flickr.png" Text="Flickr"/>
        <Intersoft:UXStackItem Icon="linkedin.png" Text="Linked In"/>
</Intersoft:UXStackButton>

Remarks

UXStackButton has an Icon property that you can assign to an image source which will indicates what the button represent. Alternatively you can also display the stacking item that belongs to UXStackButton using StackTotalDisplayItem.

 

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.