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






Gets or sets a value that determines whether the UStackMenu is opened.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property IsOpen As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXStackButton
Dim value As Boolean
 
instance.IsOpen = value
 
value = instance.IsOpen
C# 
[CategoryAttribute("Common Properties")]
public bool IsOpen {get; set;}
Delphi 
public read-write property IsOpen: Boolean; 
JScript 
CategoryAttribute("Common Properties")
public function get,set IsOpen : boolean
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property bool get_IsOpen();
public: __property void set_IsOpen( 
   bool value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property bool IsOpen {
   bool get();
   void set (    bool value);
}

Example

XAML Copy Code
<Intersoft:UXStackButton Content="Button" ClickMode="Hover" HorizontalAlignment="Center" VerticalAlignment="Bottom" 
                            Height="64" Width="64" Icon="ShareLarge.png" StackMode="GridStyle" StackGridMode="DynamicGrid">
    <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

To open or display stack items of UXStackButton, you can simply set the IsOpen property to True. Alternatively you can click the UXStackButton to set the IsOpen property.

Similiar with other button, UXStackButton also has ClickMode property that determines the action that triggers the click event. When the ClickMode property is set to Hover, UXStackButton will display the stack items when its being hovered.

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.