@@ -70,6 +70,54 @@ public class DocumentTabStrip : TabStrip
7070 public static readonly StyledProperty < IDataTemplate ? > CreateButtonTemplateProperty =
7171 AvaloniaProperty . Register < DocumentTabStrip , IDataTemplate ? > ( nameof ( CreateButtonTemplate ) ) ;
7272
73+ /// <summary>
74+ /// Defines the <see cref="LeftContent"/> property.
75+ /// </summary>
76+ public static readonly StyledProperty < object ? > LeftContentProperty =
77+ AvaloniaProperty . Register < DocumentTabStrip , object ? > ( nameof ( LeftContent ) ) ;
78+
79+ /// <summary>
80+ /// Defines the <see cref="TopContent"/> property.
81+ /// </summary>
82+ public static readonly StyledProperty < object ? > TopContentProperty =
83+ AvaloniaProperty . Register < DocumentTabStrip , object ? > ( nameof ( TopContent ) ) ;
84+
85+ /// <summary>
86+ /// Defines the <see cref="RightContent"/> property.
87+ /// </summary>
88+ public static readonly StyledProperty < object ? > RightContentProperty =
89+ AvaloniaProperty . Register < DocumentTabStrip , object ? > ( nameof ( RightContent ) ) ;
90+
91+ /// <summary>
92+ /// Defines the <see cref="BottomContent"/> property.
93+ /// </summary>
94+ public static readonly StyledProperty < object ? > BottomContentProperty =
95+ AvaloniaProperty . Register < DocumentTabStrip , object ? > ( nameof ( BottomContent ) ) ;
96+
97+ /// <summary>
98+ /// Defines the <see cref="LeftContentTemplate"/> property.
99+ /// </summary>
100+ public static readonly StyledProperty < IDataTemplate ? > LeftContentTemplateProperty =
101+ AvaloniaProperty . Register < DocumentTabStrip , IDataTemplate ? > ( nameof ( LeftContentTemplate ) ) ;
102+
103+ /// <summary>
104+ /// Defines the <see cref="TopContentTemplate"/> property.
105+ /// </summary>
106+ public static readonly StyledProperty < IDataTemplate ? > TopContentTemplateProperty =
107+ AvaloniaProperty . Register < DocumentTabStrip , IDataTemplate ? > ( nameof ( TopContentTemplate ) ) ;
108+
109+ /// <summary>
110+ /// Defines the <see cref="RightContentTemplate"/> property.
111+ /// </summary>
112+ public static readonly StyledProperty < IDataTemplate ? > RightContentTemplateProperty =
113+ AvaloniaProperty . Register < DocumentTabStrip , IDataTemplate ? > ( nameof ( RightContentTemplate ) ) ;
114+
115+ /// <summary>
116+ /// Defines the <see cref="BottomContentTemplate"/> property.
117+ /// </summary>
118+ public static readonly StyledProperty < IDataTemplate ? > BottomContentTemplateProperty =
119+ AvaloniaProperty . Register < DocumentTabStrip , IDataTemplate ? > ( nameof ( BottomContentTemplate ) ) ;
120+
73121 /// <summary>
74122 /// Gets or sets the create button theme.
75123 /// </summary>
@@ -88,6 +136,78 @@ public IDataTemplate? CreateButtonTemplate
88136 set => SetValue ( CreateButtonTemplateProperty , value ) ;
89137 }
90138
139+ /// <summary>
140+ /// Gets or sets content displayed to the left side of the tab strip.
141+ /// </summary>
142+ public object ? LeftContent
143+ {
144+ get => GetValue ( LeftContentProperty ) ;
145+ set => SetValue ( LeftContentProperty , value ) ;
146+ }
147+
148+ /// <summary>
149+ /// Gets or sets content displayed above the tab strip.
150+ /// </summary>
151+ public object ? TopContent
152+ {
153+ get => GetValue ( TopContentProperty ) ;
154+ set => SetValue ( TopContentProperty , value ) ;
155+ }
156+
157+ /// <summary>
158+ /// Gets or sets content displayed to the right side of the tab strip.
159+ /// </summary>
160+ public object ? RightContent
161+ {
162+ get => GetValue ( RightContentProperty ) ;
163+ set => SetValue ( RightContentProperty , value ) ;
164+ }
165+
166+ /// <summary>
167+ /// Gets or sets content displayed below the tab strip.
168+ /// </summary>
169+ public object ? BottomContent
170+ {
171+ get => GetValue ( BottomContentProperty ) ;
172+ set => SetValue ( BottomContentProperty , value ) ;
173+ }
174+
175+ /// <summary>
176+ /// Gets or sets template for <see cref="LeftContent"/>.
177+ /// </summary>
178+ public IDataTemplate ? LeftContentTemplate
179+ {
180+ get => GetValue ( LeftContentTemplateProperty ) ;
181+ set => SetValue ( LeftContentTemplateProperty , value ) ;
182+ }
183+
184+ /// <summary>
185+ /// Gets or sets template for <see cref="TopContent"/>.
186+ /// </summary>
187+ public IDataTemplate ? TopContentTemplate
188+ {
189+ get => GetValue ( TopContentTemplateProperty ) ;
190+ set => SetValue ( TopContentTemplateProperty , value ) ;
191+ }
192+
193+ /// <summary>
194+ /// Gets or sets template for <see cref="RightContent"/>.
195+ /// </summary>
196+ public IDataTemplate ? RightContentTemplate
197+ {
198+ get => GetValue ( RightContentTemplateProperty ) ;
199+ set => SetValue ( RightContentTemplateProperty , value ) ;
200+ }
201+
202+ /// <summary>
203+ /// Gets or sets template for <see cref="BottomContent"/>.
204+ /// </summary>
205+ public IDataTemplate ? BottomContentTemplate
206+ {
207+ get => GetValue ( BottomContentTemplateProperty ) ;
208+ set => SetValue ( BottomContentTemplateProperty , value ) ;
209+ }
210+
91211 /// <summary>
92212 /// Gets or sets if tab strop dock can create new items.
93213 /// </summary>
0 commit comments