@@ -19,17 +19,23 @@ Example of usage:
1919 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2020 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
2121 xmlns : controlskit =" clr-namespace:OpenSilver.ControlsKit;assembly=OpenSilver.ControlsKit.Controls" xmlns : d =" http://schemas.microsoft.com/expression/blend/2008" d : DesignWidth =" 512" d : DesignHeight =" 932" xmlns : mc =" http://schemas.openxmlformats.org/markup-compatibility/2006" mc : Ignorable =" d" >
22+
2223 <controlskit : AdaptiveColumnsPanel NoColumnsBelowWidth =" 400" VerticalAlignment =" Top" >
24+
2325 <Border Height =" 100" CornerRadius =" 20" Margin =" 5" Background =" #CC505E00" >
2426 <TextBlock Text =" Content 1" HorizontalAlignment =" Center" Foreground =" White" Margin =" 0,10,0,0" />
2527 </Border >
28+
2629 <Border Height =" 100" CornerRadius =" 20" Margin =" 5" Background =" #CC7D0030" >
2730 <TextBlock Text =" Content 2" HorizontalAlignment =" Center" Foreground =" White" Margin =" 0,10,0,0" />
2831 </Border >
32+
2933 <Border Height =" 100" CornerRadius =" 20" Margin =" 5" Background =" #CC00567A" >
3034 <TextBlock Text =" Content 3" HorizontalAlignment =" Center" Foreground =" White" Margin =" 0,10,0,0" />
3135 </Border >
36+
3237 </controlskit : AdaptiveColumnsPanel >
38+
3339</Page >
3440```
3541
@@ -46,19 +52,78 @@ Example of usage:
4652
4753``` xml
4854<Page
49- x : Class =" FastControls. TestApp.Pages .TestStaggeredPanel"
55+ x : Class =" TestApp.TestStaggeredPanel"
5056 xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
5157 xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
52- xmlns : controlskit =" clr-namespace:OpenSilver.ControlsKit;assembly=OpenSilver.ControlsKit.Controls"
53- xmlns : local =" clr-namespace:FastGrid.FastGrid"
54- xmlns : fg =" clr-namespace:FastGrid"
55- xmlns : conv =" clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" >
58+ xmlns : controlskit =" clr-namespace:OpenSilver.ControlsKit;assembly=OpenSilver.ControlsKit.Controls" >
59+
5660 <controlskit : StaggeredPanel DesiredColumnWidth =" 100" RowSpacing =" 20" ColumnSpacing =" 20" >
5761 <Border Width =" 100" Height =" 100" Background =" Red" />
5862 <Border Width =" 100" Height =" 300" Background =" Blue" />
5963 <Border Width =" 100" Height =" 200" Background =" Green" />
6064 <Border Width =" 500" Height =" 300" Background =" Yellow" />
6165 </controlskit : StaggeredPanel >
66+
67+ </Page >
68+
69+ ```
70+
71+
72+ ## AnimatedNavigationBar
73+
74+ A navigation bar control with smooth animated transitions for position, width, and text color changes. It inherits from ListBox.
75+
76+ ![ Screenshot of the AnimatedNavigationBar] ( docs/images/AnimatedNavigationBar_Screenshot1.gif )
77+
78+ Example of usage:
79+
80+ ``` xml
81+ <Page
82+ x : Class =" TestApp.TestAnimatedNavigationBar"
83+ xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
84+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
85+ xmlns : controlskit =" clr-namespace:OpenSilver.ControlsKit;assembly=OpenSilver.ControlsKit.Controls" >
86+ <Page .Resources>
87+
88+ <Style x : Key =" BasicNavStyle" TargetType =" controlskit:AnimatedNavigationBar" >
89+ <Setter Property =" Foreground" Value =" #4B5563" />
90+ <Setter Property =" SelectedForeground" Value =" #FFFFFF" />
91+ <Setter Property =" IndicatorBackground" Value =" #3B82F6" />
92+ <Setter Property =" Background" Value =" #F9FAFB" />
93+ <Setter Property =" CornerRadius" Value =" 10" />
94+ <Setter Property =" Padding" Value =" 8" />
95+ <Setter Property =" ItemPadding" Value =" 16,10" />
96+ <Setter Property =" AnimationDuration" Value =" 300" />
97+ <Setter Property =" IndicatorCornerRadius" Value =" 8" />
98+ <Setter Property =" FontSize" Value =" 14" />
99+ </Style >
100+
101+ <Style x : Key =" SectionBorderStyle" TargetType =" Border" >
102+ <Setter Property =" Background" Value =" #F9FAFB" />
103+ <Setter Property =" Padding" Value =" 20" />
104+ <Setter Property =" CornerRadius" Value =" 12" />
105+ <Setter Property =" BorderBrush" Value =" #E5E7EB" />
106+ <Setter Property =" BorderThickness" Value =" 1" />
107+ <Setter Property =" HorizontalAlignment" Value =" Left" />
108+ <Setter Property =" VerticalAlignment" Value =" Top" />
109+ </Style >
110+
111+ </Page .Resources>
112+
113+ <Border Style =" {StaticResource SectionBorderStyle}" >
114+
115+ <controlskit : AnimatedNavigationBar Style =" {StaticResource BasicNavStyle}" >
116+
117+ <ListBoxItem Content =" Home" IsSelected =" True" />
118+ <ListBoxItem Content =" Products" />
119+ <ListBoxItem Content =" Services" />
120+ <ListBoxItem Content =" About" />
121+ <ListBoxItem Content =" Contact" />
122+
123+ </controlskit : AnimatedNavigationBar >
124+
125+ </Border >
126+
62127</Page >
63128
64- ```
129+ ```
0 commit comments