Skip to content

Commit b8c944d

Browse files
author
prabakaran-sangameswaran
authored
Update TabItem.cs
1 parent a6f859c commit b8c944d

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

Samples/Pin-UnPin/Model/TabItem.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Syncfusion.Windows.Shared;
1+
using Syncfusion.Windows.Shared;
22
using System.Windows;
33
using System.Windows.Controls;
44

@@ -12,6 +12,7 @@ public class TabItem : NotificationObject
1212
private bool allowPin;
1313
private bool showPin;
1414
private Visibility closeButtonState;
15+
private bool isPinned;
1516

1617
public string Header
1718
{
@@ -68,6 +69,19 @@ public bool ShowPin
6869
showPin = value;
6970
this.RaisePropertyChanged("ShowPin");
7071
}
72+
}
73+
74+
public bool IsPinned
75+
{
76+
get
77+
{
78+
return isPinned;
79+
}
80+
set
81+
{
82+
isPinned = value;
83+
this.RaisePropertyChanged("IsPinned");
84+
}
7185
}
7286

7387
public Visibility CloseButtonState

0 commit comments

Comments
 (0)