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






Gets or sets a value that determines whether spotlight effect is enabled.

Syntax

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

Remarks

To enable spotlight effect simply, set the SpotlightEffectEnabled property to True. You can also controls the initial opacity from SpotlightEffectInitialOpacity property.

XAML Copy Code
<Intersoft:UXDock DockPosition="Bottom" SpotlightEffectEnabled="True" SpotlightEffectInitialOpacity="0.18">
    <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>

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.