Skip to content

Commit fcee713

Browse files
author
prabakaran-sangameswaran
authored
Update ViewModel.cs
1 parent b8c944d commit fcee713

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Samples/Pin-UnPin/ViewModel/ViewModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-

21
using Syncfusion.Windows.Shared;
32
using System.Collections.ObjectModel;
43
using System.Windows;
@@ -40,6 +39,7 @@ public void PopulateCollection()
4039
AllowPin = true,
4140
CanClose = false,
4241
ShowPin = true,
42+
IsPinned= false,
4343
CloseButtonState = Visibility.Visible
4444
};
4545
TabItem tabItem2 = new TabItem()
@@ -55,6 +55,7 @@ public void PopulateCollection()
5555
AllowPin = true,
5656
CanClose = false,
5757
ShowPin = true,
58+
IsPinned = true,
5859
CloseButtonState = Visibility.Visible
5960
};
6061
TabItem tabItem3 = new TabItem()
@@ -69,6 +70,7 @@ public void PopulateCollection()
6970
AllowPin = true,
7071
CanClose = true,
7172
ShowPin = true,
73+
IsPinned = true,
7274
CloseButtonState = Visibility.Visible
7375
};
7476

0 commit comments

Comments
 (0)