aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/CheckBox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/CheckBox.cs')
-rw-r--r--src/GraphicObjects/CheckBox.cs16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/GraphicObjects/CheckBox.cs b/src/GraphicObjects/CheckBox.cs
index 46d77e76..19bbb9b9 100644
--- a/src/GraphicObjects/CheckBox.cs
+++ b/src/GraphicObjects/CheckBox.cs
@@ -27,28 +27,16 @@ namespace Crow
{
public class CheckBox : TemplatedControl
{
- string caption;
- string image;
bool isChecked;
#region CTOR
public CheckBox() : base()
- {}
+ {}
#endregion
public event EventHandler Checked;
public event EventHandler Unchecked;
- [XmlAttributeAttribute()][DefaultValue("Checkbox")]
- public string Caption {
- get { return caption; }
- set {
- if (caption == value)
- return;
- caption = value;
- NotifyValueChanged ("Caption", caption);
- }
- }
[XmlAttributeAttribute()][DefaultValue(false)]
public bool IsChecked
{
@@ -57,7 +45,7 @@ namespace Crow
{
if (isChecked == value)
return;
-
+
isChecked = value;
NotifyValueChanged ("IsChecked", value);