aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Button.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-05 20:51:26 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-05 20:51:26 +0100
commit6a52a7126e74e1f1b26beb46b89ce6b03dafad2a (patch)
treea0ade24ba967c9105acee88c7a551cdb37b955fe /src/GraphicObjects/Button.cs
parent56383b7cadef47e34ba7dce0a676082544bccac7 (diff)
:book:, ItemTemplate files handling with multime root, Content made mandatory in TemplatedContainer
Diffstat (limited to 'src/GraphicObjects/Button.cs')
-rw-r--r--src/GraphicObjects/Button.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/GraphicObjects/Button.cs b/src/GraphicObjects/Button.cs
index 5967d94e..d4b95457 100644
--- a/src/GraphicObjects/Button.cs
+++ b/src/GraphicObjects/Button.cs
@@ -54,24 +54,6 @@ namespace Crow
public event EventHandler Pressed;
public event EventHandler Released;
- #region TemplatedContainer overrides
- public override GraphicObject Content {
- get {
- return _contentContainer == null ? null : _contentContainer.Child;
- }
- set {
- if (_contentContainer != null)
- _contentContainer.SetChild(value);
- }
- }
- protected override void loadTemplate(GraphicObject template = null)
- {
- base.loadTemplate (template);
-
- _contentContainer = this.child.FindByName ("Content") as Container;
- }
- #endregion
-
#region GraphicObject Overrides
public override void onMouseDown (object sender, MouseButtonEventArgs e)
{