Intersoft.Client.UI.Aqua.UXDock Namespace > UXDock Class : SpotlightEffectEnabled Property |
<CategoryAttribute("Visual Effect")> Public Property SpotlightEffectEnabled As Boolean
Dim instance As UXDock Dim value As Boolean instance.SpotlightEffectEnabled = value value = instance.SpotlightEffectEnabled
[CategoryAttribute("Visual Effect")] public bool SpotlightEffectEnabled {get; set;}
[CategoryAttribute("Visual Effect")] public: property bool SpotlightEffectEnabled { bool get(); void set ( bool value); }
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> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2