title: Where to unsubscribe events in a Xamarin.Forms Entry?
body: <p>I have a custom entry inheriting from Xamarin.Forms Entry to add a CompletedCommand Property. For that, I subscribe to the Completed Event of the Xamarin.Forms Entry in the constructor and invoke the bindable Property Command.</p>
  <p>My Question is, is it necessary to unsubscribe? If so, where is a good place to do that?</p>
  <pre><code>public class Entry : Xamarin.Forms.Entry
  {
      public static readonly BindableProperty CompletedCommandProperty = BindableProperty.Create(
                                                       propertyName: nameof(CompletedCommand),
                                                       returnType: typeof(ICommand),
                                                       declaringType: typeof(Entry),
                                                       defaultValue: null,
                                                       defaultBindingMode: BindingMode.TwoWay);
  
      /// &lt;summary&gt;
      /// The Command to execute when this entry is completed (Enter pressed).
      /// &lt;/summary&gt;
      public ICommand CompletedCommand
      {
          get =&gt; (ICommand)GetValue(CompletedCommandProperty);
          set =&gt; SetValue(CompletedCommandProperty, value);
      }
  
      public Entry() : base()
      {
          Completed += Entry_Completed;
      }
  
      private void Entry_Completed(object sender, EventArgs e)
      {
          CompletedCommand?.Execute(CompletedCommandParameter);
      }
  }
  </code></pre>