aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TabItem.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-01-31 15:58:52 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2017-01-31 15:58:52 +0100
commitcfb314bd4fe70c83f43bb254bcc1bdb54b2dc827 (patch)
tree87c1a868c22ad302325cd55a4468a042e1ba437b /src/GraphicObjects/TabItem.cs
parent177aa594f6a93d4c8c9ee38546f12851782cb838 (diff)
move recurrent 'Caption' property in Templated Control
Diffstat (limited to 'src/GraphicObjects/TabItem.cs')
-rw-r--r--src/GraphicObjects/TabItem.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/GraphicObjects/TabItem.cs b/src/GraphicObjects/TabItem.cs
index aca033d9..923aa51e 100644
--- a/src/GraphicObjects/TabItem.cs
+++ b/src/GraphicObjects/TabItem.cs
@@ -89,16 +89,7 @@ namespace Crow
RegisterForGraphicUpdate ();
}
}
- [XmlAttributeAttribute][DefaultValue("TabItem")]
- public string Caption {
- get { return caption; }
- set {
- if (caption == value)
- return;
- caption = value;
- NotifyValueChanged ("Caption", caption);
- }
- }
+
[XmlAttributeAttribute][DefaultValue(false)]
public virtual bool IsSelected {
get { return isSelected; }